Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default downloading from the internet


Hello Excel Help World-

I have a list (in excel) of webpages that I want to open and bring into
excel. So, I recorded a macro using the Data/Import New Data/New Web
Query tool. In VB, I am putting a for loop around this command to
successively do all the websites in my list. Since the websites change,
I declare a variable (webSite) and set it equal to the cell described by
the counter in the for loop. Then, when the recorded macro calls the
website, I put in webSite.Value. However, this is giving me a syntax
error.

Any ideas???

Much thanks for any help you can offer on my problem!

Dan Marks


--
DanMarks
------------------------------------------------------------------------
DanMarks's Profile: http://www.excelforum.com/member.php...o&userid=31127
View this thread: http://www.excelforum.com/showthread...hreadid=507938

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default downloading from the internet


the code and exact error message might help?


--
CFD


------------------------------------------------------------------------
CFD's Profile: http://www.excelforum.com/member.php...o&userid=27306
View this thread: http://www.excelforum.com/showthread...hreadid=507938

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default downloading from the internet

A few things. Post your code and what line causes the error. Before doing
that in the VB editor select Debug - Compile and see if you have any sysntax
errors...
--
HTH...

Jim Thomlinson


"DanMarks" wrote:


Hello Excel Help World-

I have a list (in excel) of webpages that I want to open and bring into
excel. So, I recorded a macro using the Data/Import New Data/New Web
Query tool. In VB, I am putting a for loop around this command to
successively do all the websites in my list. Since the websites change,
I declare a variable (webSite) and set it equal to the cell described by
the counter in the for loop. Then, when the recorded macro calls the
website, I put in webSite.Value. However, this is giving me a syntax
error.

Any ideas???

Much thanks for any help you can offer on my problem!

Dan Marks


--
DanMarks
------------------------------------------------------------------------
DanMarks's Profile: http://www.excelforum.com/member.php...o&userid=31127
View this thread: http://www.excelforum.com/showthread...hreadid=507938


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
Downloading files from the the Internet Megadrone Excel Worksheet Functions 1 November 29th 07 09:49 PM
Downloading or copying Frawjohnley Excel Discussion (Misc queries) 1 March 15th 07 09:08 PM
downloading an attachment sa11y Excel Worksheet Functions 0 December 12th 05 08:00 PM
Downloading from Bloomberg! Rohit Excel Discussion (Misc queries) 1 June 28th 05 04:04 AM
downloading charts from internet URLs using Excel VBA rm24746 Excel Programming 1 October 15th 03 05:28 AM


All times are GMT +1. The time now is 04:06 PM.

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"