Quick Search


Tibetan singing bowl music,sound healing, remove negative energy.

528hz solfreggio music -  Attract Wealth and Abundance, Manifest Money and Increase Luck



 
Your forum announcement here!

  Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums > Free Advertising Forums Directory > Miscellaneous Forums

Miscellaneous Forums This is a list of any forum that has a free advertising section but doesnt fit into the categories above.

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-07-2011, 11:59 PM   #1
bolsooi19
 
Posts: n/a
Default Windows 7 sale Pulling RSS data into Excel (or Us

This blog post is brought to you by Dan Battagin a Lead Program Manager on the Excel team.
OK, so I'm going to talk a bit about a relatively unknown feature in Excel: XML data import. It was introduced in Excel 2003, but we've done a pretty good job hiding it since Excel 2007 by putting it on the Developer tab of the Ribbon. I'm going to make the topic even a bit more geeky by using it in conjunction with VBA.
In exchange, I'm going to produce, at the end, a nice little solution that you can use to search Craigslist...across multiple Craigslist sites,Office 2010 Home And Business, all from a single Excel sheet. Oh, and I'll give you the workbook too, in case that's all you want. Cool ehh?
Right, so let's set the stage. Craigslist is an amazingly cool marketplace - everything's free, and so both buyers and sellers can get a pretty good deal. A problem that I've run into though is that the local selection isn't always great, and so I find myself searching a few different sites for the item I want. Sound familiar?
Let's build a sheet that looks something like this, that allows us to search as many (or few) craigslist sites as we want for a given item:
Searching the entirety of craigslist - nice.
To do this, we'll take a few overall steps:
Using XML import (for RSS), setup the results table for the workbook (for a single site).
Add the "Search box" to parameterize the XML import.
Add the ability to search multiple sites in one fell swoop.
Add the "Status indicator" so we know how much longer the search will take.
With that, let's get ready to rumble!
Using XML Import to Setup the Results Table
To get started, let's setup the results table - this is actually quite easy - it just entails us getting the URL to the RSS results for a search. Something like this:
To get the data into Excel, follow these steps:
Enable the Developer ribbon, if it's not already by clicking File | Options | Customize Ribbon and then check the "Developer" checkbox in the right-hand listbox.
Select cell B5 in your sheet (I'm positioning us here due to future steps in this blog post)
Click Developer | XML > Source, then click XML Maps... | Add... from the task pane that opens
Paste in the URL above and click Open, then OK the XML Schema warning that is shown, then click OK again.
Drag the node labeled "ns3:item" into B5 of your sheet. You should now be looking at something like this:
XML Mapping in Excel - probably a new feaure for you!
Whew, we've got our "data connection" into Excel now, and we just need to clean up the Table a bit. Again, this isn't hard, but there are a few steps to take...
We only need a few columns. Rename them as follows by just typing in the table header, and reorder them if you want (I put Date after Linky): ns3:title > Title
ns3:link > Linky
ns3:description > Description
ns3:date > RawPostDate
Delete all the other columns in the table by right-clicking on them and choosing to Delete Table Column
Add a couple new new table columns wherever you want in the table. Call them "Date" and "Location"
For each of the new columns, enter the following formulas in the first row under the table headers:
(by the way - you'll see two things: Firstly, the new "@" notation for referring to the current table row, which we added in Excel 2010 to make working with tables easier. Secondly, you may get some #VALUE!'s in cells - don't worry about those for now)

Column<:o:p>

Value<:o:p>

Date<:o:p>

=VALUE(LEFT([@RawPostDate], SEARCH("T",Windows 7 sale, [@RawPostDate])-1))

Location<:o:p>

=LEFT(RIGHT([@Linky], LEN([@Linky])-LEN("")), (SEARCH(".", [@Linky])-1)-LEN(""))
5. OK,Discount Office 2007, now we're ready for some data. Just right-click on the table and choose Refresh. Ignore any errors, they are meaningless for our purposes, and we'll take care of them later.
6. Next, let's get the table looking a bit better by:
Select a single cell in the table | right-click | XML | XML Map Properties... and uncheck "Adjust column width"
select "Append new data to existing XML tables"
Select the entire table and click Home | Cells | Format |Row Height,Purchase Windows 7, and set the height to 15.
7. Lastly, a couple cool formatting "tricks."
Select the Linky column and right-click | Format Cells. Select the Number tab | Custom, and use the following format, exactly as shown, which tells Excel to always display the text "link" in the cells (oooooo,Windows 7 Discount, aaaaaahhhhh):
;;;"link"
Select the Date column and right-click | Format Cells. Select Date, and choose a format to your liking.
And just like that, we've got a search results table. Cool beans.
RSS data in Excel!
Adding the Search Box to Parameterize the XML Import
OK, the search results are cool, but I mean really...it's just a baby step in the right direction. After all, it's hard-coded to a single search term right now. To change that, we'll add a search box, and let the user update the results for the table. That's going to involve a bit of VBA...
Select cells B2:E3 and merge them.
Select the merged cell and click Formulas | Define Name, and call the name rngSearchTerm.
Insert an image or shape or button that will be the "start" search button.
Right click on the "start" button and choose "Assign Macro", then name the macro "RunSearch" and click Edit in the dialog that comes up.
Enter the following VBA for the RunSearch method:
6. Close the VBA editor and search away.
Now that's pretty cool - a parameterizable search that uses XML maps to import data from the Craigslist RSS feed. Next time, we'll look at updating the example so that we pull data from multiple Craigslist sites, and we'll add a little progress meter.
<div
  Reply With Quote

Sponsored Links
Old 04-08-2011, 12:13 AM   #2
oureeef
Captain
 
Join Date: Mar 2011
Posts: 513
oureeef is on a distinguished road
Default где купить футболкe эквалайзер

Футболки купить красивую футболку в дзержинске купить прикольный подарок в азове где заказать прикольную футболку в люблино где купить футболкe эквалайзер, купить футболку в грозном. Футболка футболка boxing team прикольная футболка в усолье сибирском купить футболку сумерки в москве где заказать футболку в коврове. Одежда где купить футболкe эквалайзер майка заказать футболку дешево 400 что подарить парню на римской футболки прикольный подарок на боровицкой. Футболка прикольные футболки женская футболка рисунок что подарить девушке в архангельске денис симачев футболки купить узоры тату на футболках. Футболки майки где купить футболку на третьяковской, где купить футболкe эквалайзер где купить подарок парню на автозаводской интернет магазин прикольных футболок в украине майкараган волжский купить подарок в дагестане купить футболки для двоих купить прикольный подарок в ставрополье футболки в саратове купить футболки Футболка где купить футболкe эквалайзер футболки печать на футболках киев купить футболку на варшавской футболка где можно купить футболку с мики маусом в москве. Одежда много футболок футболка спанч боб купить прикольную футболку в иркутской области купить майку в европе где заказать прикольную футболку в хмельницком. Майка футболки кепка с вентилятором, где купить футболкe эквалайзер что подарить парню в ленинск кузнецком майки бесшовные футболка с группой бис заказать футболку в кузнецке где в уфе можно купить футболку ноггано где купить подарок в австралии майка с рунами майка
oureeef is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 09:59 PM.

 

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum