Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Macro to save excel sheet in a workbook
I have an application that export an excel workbook. The workbook has
many tabs. I have created a macro to save each tab as a different file name in specific folders. This works well-on the file that the macro was created in. However on export of the excel workbook the file name changes, that being the case, i am looking for some help on adding this macro to excel and have it use on any excel file/workbook. Please let me know if there is anyway to do this. Regards. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Macro to save excel sheet in a workbook
Instead of refering to the workbook by name (or using ThisWorkbook), you may be
able to use ActiveWorkbook instead. Then your code will be running against whatever workbook is active. wrote: I have an application that export an excel workbook. The workbook has many tabs. I have created a macro to save each tab as a different file name in specific folders. This works well-on the file that the macro was created in. However on export of the excel workbook the file name changes, that being the case, i am looking for some help on adding this macro to excel and have it use on any excel file/workbook. Please let me know if there is anyway to do this. Regards. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Select sheet tabs in workbook & save to separate workbook files | Excel Worksheet Functions | |||
create a macro to save excel sheet | Excel Worksheet Functions | |||
Can I only save one sheet out of the workbook? | Excel Discussion (Misc queries) | |||
Save a single sheet from a workbook | Excel Discussion (Misc queries) | |||
Macro in Excel 2002 to save a workbook to a FTP location | Excel Discussion (Misc queries) |