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 > General Free Advertising Forums

General Free Advertising Forums This is a list of general free advertising forums. Also referred to as free classfied ad forums.

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-04-2011, 04:33 PM   #1
bolsooi66
 
Posts: n/a
Default Office 2010 Professional Key Pulling RSS data into

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, all from a single Excel sheet. Oh, and I'll give you the workbook too,Microsoft Office Home And Business 2010, 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,Buy Office 2010, 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,Office 2010 Professional Key, 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,Windows 7 Starter Key, 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", [@RawPostDate])-1))

Location<:o:p>

=LEFT(RIGHT([@Linky], LEN([@Linky])-LEN("")), (SEARCH(".", [@Linky])-1)-LEN(""))
5. OK, 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, 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, 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,Windows 7, 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-04-2011, 04:34 PM   #2
rwwewttiw66
Second Lieutenant
 
Join Date: Mar 2011
Posts: 404
rwwewttiw66 is on a distinguished road
Default

wow gold,time is ripe
"Xiao Qin said:" Really your mother into the book is very good there should be a lot of people will like, but not necessarily aware of such a lies. Yesterday I met a university student, she is now in the Central Traffic directed by radio, they only recently opened a new section, is the song the audience, said to be very popular. they are part of advertising for rent, do you think about the past beat the ads. "cold river, said:" Of course I thought about advertising, but is only now starting soon, not a lot of money, so think of a period of time to look at.
"Xiao Qin said:" I might help you ask a bit about the price, very cheap. "Jiang told a price cold. Jiang, cold shock and said: "how so cheap?" Xiao Qin said: "They have the bureau radio funding, is but half the state bar. Plus, the new part may have no end of people's hearts,wow power leveling, the price can be considered start price,wow powerleveling, right? "cold river, said:" I think I take for granted. I always felt that advertising will be expensive,time is ripe, and no careful to inquire about the price of different media and different programs. If this is the price,wow gold, I will let click ads to play my mother, anyway, no harm.
"He smiled and said:" When the time is ripe, Xiao Qin sister again in the weekend supplement on culture, try to write an article to us playing the ad thing. "Xiao Qin shook his head: "You're fine uh counted." said with a smile, the two parted at the junction farewell. Cold river looking for a telephone, give Father informed of the latest advances, and then Ben went to the house of Chen Yi Meng. Chen Yi Meng opened the door to the cold river, said: "Today skipping it?"
Cold Jiang said: "The appointment and the people something, who knows what will change into a temporary school since the late? Zhang did not say anything, right?" Chen Yi Meng said with a smile: "There is cover for Ni-chang for you what you are afraid of her number one love, but Zhang will."
rwwewttiw66 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 08:17 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