Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Getting data from web page

I am trying to do something very similar to the user in this post:

http://groups.google.com/group/micro...c00a6ae619610a

I copied the code from Jake Marx on the bottom of the page and am able
to run it w/o any errors but no data appears in my spreadsheet. I
guess the "Debug.Print" isn't working. I have looked at the source URL
and can't see any reason why the data wouldn't be returned.

Can someone tell me what I'm doing wrong?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Getting data from web page

Hi Scott

The data is in variables at the conclusion of Jake's example.
Debug.print puts something in the "Immediate" pane in the VBA editor.
If you want it on your spreadsheet too, you can add some lines such as:

Debug.Print msDIVIDEND_RATE & ": " & Mid$(s, nStart, nEnd - nStart) '
existing line from JMs code
ActiveCell.Value = msDIVIDEND_RATE & ": " & Mid$(s, nStart, nEnd -
nStart) ' puts the same thing in the active cell
activecell.offset(1,0).activate ' move to an empty cell to put the
next piece of data into



Kevin

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Getting data from web page

Kevin,

Thanks for the quick reply. I am new to this and was unfamiliar with
the Immediate pane and debug output. I figured that much out shortly
after posting but still didn't know how to get the data into a cell.

Thanks again!

Scott

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
Excel formula to change page # when data entered in other page Solograndma Excel Discussion (Misc queries) 2 March 12th 07 01:35 PM
How do I copy a graph of a data page to a new data page. Jackrc Charts and Charting in Excel 1 May 9th 06 12:20 PM
Page Break Preview Page Number as Data Neal Zimm Excel Programming 1 May 3rd 05 01:01 AM
excel fit to 1 page shows 1 page but not all data is on that page Jans Excel Programming 1 September 2nd 04 01:49 AM
Printing second page if data overruns, otherwise print first page playdohstu Excel Programming 1 February 12th 04 02:08 PM


All times are GMT +1. The time now is 12:17 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"