Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Guys,
Im teaching myself vba [or trying to!] so my code attempts may reek of amateur, but hell, we all started somewhere. I have 35 very similar worksheets that grab financial data from a web query. I only use one sheet at a time though. The active sheet then has to format a load of data and paste it into a mastersheet. What I need to do but can't grasp it is when I am in the active sheet and do a cut of the relevant data, then tell my code to select the 'Data Collection' worksheet and pastes it, I need to go back to the previous sheet to clear some leftover data ready for the next time this particular collection sheet is used. I tried to set the activesheet name as a variable to refer back to it later but it simply stays in the 'Data Collection' worksheet instead of going back, or I generate a vba error. Any help would be appreciated. Ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
reference cell from previous worksheet without "naming" worksheet | Excel Worksheet Functions | |||
Returning To Previous Worksheet - Help with sebastienm's code | Excel Discussion (Misc queries) | |||
I need to return the name of a worksheet in another worksheet cell? | Excel Worksheet Functions | |||
How do I return to a previous worksheet in Excel? | Excel Discussion (Misc queries) | |||
Macro to return to previous worksheet | Excel Programming |