ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I run a macro from another file? (https://www.excelbanter.com/excel-programming/425997-how-do-i-run-macro-another-file.html)

B-52

How do I run a macro from another file?
 
We've upgraded to Excel 2007 from Excel 2003. In Excel 2003 I have about 100
macros in a special macro file that I keep open all of the time. This is so
I can run any of those macros for use in another file I'm working in. It
appears Excel 2007 doesn't operate this same way. It sounds like I must have
the macro, I want to use, inside the file I'm working in. I can't call the
macro from another file. Does this mean I must copy all macros I think I
want to run into the file I'm working in? That means every file I work with
will have at least one macro within it. Other people use these files I build
and it will confuse and scare them with the message "this file contains
macros" everytime they open my files.

Any suggestions?

ryguy7272

How do I run a macro from another file?
 
I just started using 2007 myself; not happy with it but.........anyway...
Can you put your macro in your Personal.xls folder? Run from there?

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"B-52" wrote:

We've upgraded to Excel 2007 from Excel 2003. In Excel 2003 I have about 100
macros in a special macro file that I keep open all of the time. This is so
I can run any of those macros for use in another file I'm working in. It
appears Excel 2007 doesn't operate this same way. It sounds like I must have
the macro, I want to use, inside the file I'm working in. I can't call the
macro from another file. Does this mean I must copy all macros I think I
want to run into the file I'm working in? That means every file I work with
will have at least one macro within it. Other people use these files I build
and it will confuse and scare them with the message "this file contains
macros" everytime they open my files.

Any suggestions?



All times are GMT +1. The time now is 04:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com