image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old October 16th, 2006, 11:20 PM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
rantcliff is on a distinguished road
Mac Web Query

Does anyone out there have any experience with doing web queries on Mac Excel? I have been trying several variations and can't get it to work correctly. It always pulls doen the full page, even though I have told it to only bring down the tables.

Any help?

Rich
Reply With Quote
  #2  
Old October 19th, 2006, 01:58 PM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
rantcliff is on a distinguished road
??

Can i assume there are no excel experts on this site?
Reply With Quote
  #3  
Old October 19th, 2006, 02:57 PM
billbaloney's Avatar
House pianist
 
Join Date: Oct 2000
Location: Brooklyn, NY
Posts: 509
Thanks: 0
Thanked 0 Times in 0 Posts
billbaloney is on a distinguished road
You'll need to provide more information for anyone to help. For instance, the query.

Excel sometimes perceives parts of a page, or an entire page, to be a table. But AFAIK OS X Excel 2004 behaves much like recent versions of Windows Excel w.r.t web queries.
__________________
Matt (billbaloney)
1.67GHz "October 2005" G4 Aluminum 1.5 GB RAM, OS 10.5.2
Lots of other things around
Helen Marie
Holford Industries
Reply With Quote
  #4  
Old October 19th, 2006, 04:22 PM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
rantcliff is on a distinguished road
further details

Actually the PC version of web queries and the Mac version are very different. The PC version is several updates ahead. It allows you to simply drag the info from the web page and produce a live link. On the Mac you have to create a text document to grab the external data.

My problem is that I can create these text files and get them to grab the data from the web page, but it always captures the whole page, I cannot get it to just capture the table info. This makes it very hard to predict where the data will end up in the spreadsheet as it is determined by the size of ads, etc.

So, anyone worked with these buggers?

Rich
Reply With Quote
  #5  
Old November 13th, 2007, 10:11 AM
Registered User
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
erichazann is on a distinguished road
Edit the .iqy file directly and where it says "Selection=EntirePage" change that to the table number(s), comma separated. To find the table number, view the source of the HTML page and search for <table (opening table tag) and count how many until you get to the table you want.

ex.
WEB
1
http://kitco.com/market/

Selection=20,23
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False

This takes two tables from the url. The NY Spot Price table, and the World Market Spot Price table. Change formatting to All if you want the HTML formatting preserved.
Reply With Quote
Reply

Thread Tools

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS query - is it set up right? andrewballem Mac OS X System & Mac Software 0 July 31st, 2006 11:40 PM
Query about the Dot Mac server Adonsa Opinions, & Open Letters 10 September 6th, 2005 11:16 AM
Mac/PC query Jo Mac OS X System & Mac Software 4 September 2nd, 2005 12:09 AM
DNS Query Logging pedz Networking & Compatibility 0 June 27th, 2004 01:56 AM
New Powerbooks - Query cbl2001 Hardware & Peripherals 4 April 19th, 2004 08:33 PM


All times are GMT -5. The time now is 07:36 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.