Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Aaaaaarg, i'm stuck...
I know how to make basic functions in Exel, i even made some really complicated ones, but i think i need another approach to fix this. I want to import a table from a webpage (easy, just make a webquery that updates every now and then) then i want to take some of that information and save to plot a graph, sort of like with the stockmarket. This is my problem... i don't know how to do this. I need to copy the part i want to keep progressiveley further away. I don't even know how to automate the copying of one set of numbers, let alone how to make the procedure "mobile". This is a graphic explanation of what i want to do: http://img331.imageshack.us/my.php?i...kmarket8zg.jpg The red part is the raw data i can fetch automatically. The green is the part i want to save from each dataset. You can see that i have manually copied four parts into place and i want to keep pasting the new parts onto the right of the green area. Please help. If indeed this is impossible with Excel i would appreciate tips on what software could do it. Thank you. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you for the quick answer!
Unfortunately my knowledge of macros stretches as far as to record a basic macro. Not edit it afterwards... I have tried but failed. A more elaborate explanaition would be nice, but i think i could manage with some link to related information. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just put what I gave you in a submodify to suit your sheet namescolumns,
etc or contact me privately for custom work sub copydatatosheet2() dlc=sheets("sheet2").cells(1,columns.count).end(xl toleft).column+1 sheets("data").columns(2).copy sheets("sheet2").columns(dlc) end sub -- Don Guillett SalesAid Software "vigfus" wrote in message ... Thank you for the quick answer! Unfortunately my knowledge of macros stretches as far as to record a basic macro. Not edit it afterwards... I have tried but failed. A more elaborate explanaition would be nice, but i think i could manage with some link to related information. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It works! Thanks!
I changed copy to cut to make it more noticeable when the macro runs. Now that i've gotten this far i have grander goals. ;) I still don't know how to automate the macro. I still have to be there to start the macro. It would be neat if the macro could start automaticly when some value appears in the raw data page (at the place i cut it from). Is this still possible? |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Lazy aren't we?
As I said before, you can run your query or refresh from the macro and you can even set up the macro to run automatically. Look in vba help index for ONTIME -- Don Guillett SalesAid Software "vigfus" wrote in message ... It works! Thanks! I changed copy to cut to make it more noticeable when the macro runs. Now that i've gotten this far i have grander goals. ;) I still don't know how to automate the macro. I still have to be there to start the macro. It would be neat if the macro could start automaticly when some value appears in the raw data page (at the place i cut it from). Is this still possible? |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hehe, a little lazy i guess. ;) It's just comforting to deal with someone who
knows his stuff. I will check the helpfiles... Once again, thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automatically import information from webpage into Excel Cell | Excel Discussion (Misc queries) | |||
Can I choose to import only certain columns from a webpage? | Excel Discussion (Misc queries) | |||
Microsoft Excel import a webpage error | Excel Discussion (Misc queries) | |||
Automate Import/Export | Excel Discussion (Misc queries) | |||
Automate text import | Excel Programming |