Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Creating Table from Web-Based Material

Ken,

Your sample page is not an HTML document as such, just a lot of plain
text wrapped in <pre</pre to preserve the formatting. This makes it
more difficult to extract data, since there's no real tabular
structure to attack.

To get at the plain text you'd have to come up with some sort of
parameterized parsing routine: is definitely doable if the tables are
have similar structure. If structures vary slightly then the routine
might be able to compensate for (e.g.) different column widths, but
beyond that the amount of coding required would increase.

So yes, it's possible but as a "non-programmer" it would present a
challenge.

Regards,
Tim.


"Ken" wrote in message
om...
This is a large question, and I appreciate any level of response

that
can be given, including whether what I seek to accomplish is

possible
or practical.

I am trying to determine how completely I can automate the process

of
taking material from a web site and putting it into an Excel table.
The web-based tables show names and "x" for a vote under "Aye" or
"Nay." An example may be found at

http://frwebgate.access.gpo.gov/cgi-...8_cong_reports
by searching the page for fc-14 (there are other votes below this
one). As you will see, these vote tables are a small portion of a
larger report.

I would like each vote to be pulled into an Excel sheet and

displayed
as follows:

Name Aye(vote1) Nay(vote1) Aye(vote2) Nay (vote2)

etc.

Name1 x x
Name2 x x
etc.

Even better would be to pull the votes from multiple reports which

may
be found by going to
http://www.gpoaccess.gov/serialset/creports/index.html then checking
House and putting "financial services" in the search box and

clicking
submit. Not all of the reports that come up show votes. There are,
of course, a number of committees, but start with this one.

This can be done, of course, by a web query to the report in Excel,
but non-table text must be deleted, the votes lined up with "text to
columns" (fixed width), each set of votes copied and pasted
horizontally next to the preceding and repeated names (across)
deleted.

Since search engine spiders grab huge amounts of information and
e-mail addresses and other information are culled from the web, what

I
am trying to do seems possible to this non-programmer. Your advice

is
appreciated.


Ken



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do updates work when creating a pivot table based on another? DianeG Excel Worksheet Functions 1 July 30th 07 03:12 PM
Creating a table based on rank giantwolf Excel Worksheet Functions 2 January 10th 06 02:54 PM
Creating lookup formulas for material cost spreadsheet mn_tater Excel Worksheet Functions 5 December 15th 05 09:46 PM
Creating a league table based on results gpktm Excel Worksheet Functions 3 November 7th 05 12:15 PM
making one material list from mulitple vendor material lists In the beginning Excel Worksheet Functions 1 January 8th 05 02:49 AM


All times are GMT +1. The time now is 09:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"