Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've created a formatting macro that runs beautifully called "Export Macro"
located in the file "Macro 2006.xls". I want to make "Export Macro" run in a separate file called "Presubmission.xls". This file is generated by Access, located in the same spot with the same title (for grins, let's say the path is: \\svr1\Common\MI\Frustration\Presubmission.xls) Ultimately, I want to link the "Export Macro" to a command button in "Macro 2006.xls", which tells it to go the "Presubmission.xls" and run "Export Macro", thereby formatting my report. What is the code I need to have to accomplish this? I've tried a few different things, but am still somewhat new a macro writing. Any help would be appreciated! Thank you, Michele |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at Application.Run
-- Regards, Tom Ogilvy "Michele" wrote in message ... I've created a formatting macro that runs beautifully called "Export Macro" located in the file "Macro 2006.xls". I want to make "Export Macro" run in a separate file called "Presubmission.xls". This file is generated by Access, located in the same spot with the same title (for grins, let's say the path is: \\svr1\Common\MI\Frustration\Presubmission.xls) Ultimately, I want to link the "Export Macro" to a command button in "Macro 2006.xls", which tells it to go the "Presubmission.xls" and run "Export Macro", thereby formatting my report. What is the code I need to have to accomplish this? I've tried a few different things, but am still somewhat new a macro writing. Any help would be appreciated! Thank you, Michele |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2007 Macro to Open File, Delete Contents, Save New File | Excel Discussion (Misc queries) | |||
Macro to save Excel file with date and time in the file name? | Excel Programming | |||
Macro to call a file that has a auto open macro in the file itself | Excel Programming | |||
Automate open file, update links, run macro, close and save file | Excel Programming |