Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
module location
When I execute one of my macros, it starts another excel
file before executing the macro. I think that vba has it stored in the second excel file. Can anyone tell me how to check this; and how to get the macro located only in the first excel file so the macro does not start another excel file in order to do its work? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
module location
hi,
if the macro excutes then it is stored in your 1st file or at least enough code to open the 2nd file to call the macro. if it opens another file, then the macro has code in it to open the 2nd file. Post your code. -----Original Message----- When I execute one of my macros, it starts another excel file before executing the macro. I think that vba has it stored in the second excel file. Can anyone tell me how to check this; and how to get the macro located only in the first excel file so the macro does not start another excel file in order to do its work? . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
module location
Instead of doing Macro, Run do Macro, Edit.
Copy the whole macro and post it here. RBS "Paul" wrote in message ... When I execute one of my macros, it starts another excel file before executing the macro. I think that vba has it stored in the second excel file. Can anyone tell me how to check this; and how to get the macro located only in the first excel file so the macro does not start another excel file in order to do its work? |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
module location
hi again,
forgot to mention, to see modules, open the vb editor (alt+F11). on the left click the + next to your project(file name). this should display all the modules in your file. -----Original Message----- hi, if the macro excutes then it is stored in your 1st file or at least enough code to open the 2nd file to call the macro. if it opens another file, then the macro has code in it to open the 2nd file. Post your code. -----Original Message----- When I execute one of my macros, it starts another excel file before executing the macro. I think that vba has it stored in the second excel file. Can anyone tell me how to check this; and how to get the macro located only in the first excel file so the macro does not start another excel file in order to do its work? . . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro - save to current location vs excel default location | Excel Discussion (Misc queries) | |||
CLASS MODULE & SIMPLE MODULE | Excel Discussion (Misc queries) | |||
code in module A to not execute a Worksheet_SelectionChange sub of another module | Excel Discussion (Misc queries) | |||
Changing Default Module Location | Excel Programming | |||
Variable from a sheet module in a class module in XL XP | Excel Programming |