Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am including the entire macro, but it is the last 3 lines that I am
concerned about. Basically, by the time the macro gets to that point, 2 workbooks are open. I am running the macro from the User workbook. But I want to go to the module in the Dev workbook and use the Update3 macro in. When I now run the macro, the error states that it can't find Update3 (which is in the Dev file. How do I tell Excel to go the the module in Dev file that has Update3? Thanks much. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Application.Run ("yourfilename.xls!yourmacroname")
-- Regards, Nigel "Andyjim" wrote in message ... I am including the entire macro, but it is the last 3 lines that I am concerned about. Basically, by the time the macro gets to that point, 2 workbooks are open. I am running the macro from the User workbook. But I want to go to the module in the Dev workbook and use the Update3 macro in. When I now run the macro, the error states that it can't find Update3 (which is in the Dev file. How do I tell Excel to go the the module in Dev file that has Update3? Thanks much. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Nigel. That worked!
"Nigel" wrote: Application.Run ("yourfilename.xls!yourmacroname") -- Regards, Nigel "Andyjim" wrote in message ... I am including the entire macro, but it is the last 3 lines that I am concerned about. Basically, by the time the macro gets to that point, 2 workbooks are open. I am running the macro from the User workbook. But I want to go to the module in the Dev workbook and use the Update3 macro in. When I now run the macro, the error states that it can't find Update3 (which is in the Dev file. How do I tell Excel to go the the module in Dev file that has Update3? Thanks much. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Opening a workbook withAuto-open Macros without transferring control | Excel Programming | |||
using a cell value to control a counter inside a macro and displaying macro value | Excel Worksheet Functions | |||
Giving Macro control to another workbook | Excel Programming | |||
Call a macro in anothe file | Excel Programming | |||
macro? clearing/ transferring info to another sheet | Excel Programming |