Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Keeping a Macro in a new book
I have a workbook that contains a macro to save a copy of 2 tabs out on a
network drive, and then it loops, populates new data and saves those two tabs again. The macro loops about 1200 times. My issue is that on the second tab I want to have a macro that copies and pastes data onto the second tab AFTER it has been saved off on to our network away from the original spreadsheet it came from. I tried writing the macro on the sheet (not in a module) but it wouldn't work (Runtime error 1004) - but the exact same code worked if it was in a module. I do not believe the module will migrate over when the 2 tabs are saved out - how can I make this work? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Keeping a Macro in a new book
hi,
see this site.... http://cpearson.com/excel/vbe.htm macros that write macros. Regards FSt1 "WBTKbeezy" wrote: I have a workbook that contains a macro to save a copy of 2 tabs out on a network drive, and then it loops, populates new data and saves those two tabs again. The macro loops about 1200 times. My issue is that on the second tab I want to have a macro that copies and pastes data onto the second tab AFTER it has been saved off on to our network away from the original spreadsheet it came from. I tried writing the macro on the sheet (not in a module) but it wouldn't work (Runtime error 1004) - but the exact same code worked if it was in a module. I do not believe the module will migrate over when the 2 tabs are saved out - how can I make this work? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
template small business book keeping | New Users to Excel | |||
Executing macro in one book from another. | Excel Discussion (Misc queries) | |||
how do i set up book keeping accounts? | New Users to Excel | |||
Where can I find a VAT book keeping template? | Excel Discussion (Misc queries) | |||
how do I set up book keeping on office | Excel Worksheet Functions |