Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel formula to change page # when data entered in other page | Excel Discussion (Misc queries) | |||
How do I copy a graph of a data page to a new data page. | Charts and Charting in Excel | |||
Page Break Preview Page Number as Data | Excel Programming | |||
excel fit to 1 page shows 1 page but not all data is on that page | Excel Programming | |||
Printing second page if data overruns, otherwise print first page | Excel Programming |