Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm writing a macro that would a be a "one time use" for many people, so
don't want to have to save it in a workbook they use that is already fairly large. I need to know how to call a macro in a workbook that I'm referring to as aWB from my code. Thanks, Barb Reinhardt |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Let's say we have macro named barb in workbook aWB. Just include:
Application.Run "aWB.xls!barb" to activate the macro from a different workbook -- Gary''s Student - gsnu200717 "Barb Reinhardt" wrote: I'm writing a macro that would a be a "one time use" for many people, so don't want to have to save it in a workbook they use that is already fairly large. I need to know how to call a macro in a workbook that I'm referring to as aWB from my code. Thanks, Barb Reinhardt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
disable user running macro from Tools Macro | Excel Discussion (Misc queries) | |||
Running Same macro in 250 Worksheets in Same Workbook | Excel Worksheet Functions | |||
Problems in running a macro in another workbook | Excel Discussion (Misc queries) | |||
Help:Running a macro in one excel workbook from another workbook | Setting up and Configuration of Excel | |||
Running a macro for all visible worksheets in a workbook | Excel Discussion (Misc queries) |