Dear all,
I do have a question, why is my macro command I set in one excel file supposed can be used for all other file but when I use this macro in other excel file it will open the first excel file created this macro
One macro for all excel file
-
- Administrator
- Posts: 78674
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: One macro for all excel file
If you want a macro to be available in all workbooks, you must store it either in your Personal Macro Workbook PERSONAL.XLSB, or in an Excel add-in (a .xlam file).
If you store it in an ordinary workbook, Excel must open that workbook in order to run the macro.
See How do I create and use a PERSONAL file for my VBA code.
If you store it in an ordinary workbook, Excel must open that workbook in order to run the macro.
See How do I create and use a PERSONAL file for my VBA code.
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 516
- Joined: 21 Feb 2016, 02:52
Re: One macro for all excel file
Hi Hans,
Thanks a lot for the assistance..
Thanks a lot for the assistance..