ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Personal.xls (https://www.excelbanter.com/excel-programming/290839-personal-xls.html)

R. SRIKANTH[_2_]

Personal.xls
 
Hells guys/gals,
I have created different macros for different reports. i came across personal.xls
how to copy different macros in personal.xls file and after copying it to personal.xls how to use it in the new worksheet
Also, is personal.xls available in all windows edition

Bob Phillips[_6_]

Personal.xls
 
From another project, you need to qualify the macro with its workbook name,
like so

Application.Run "'Personal.xls'!Test"

If the macro has arguments, you use

Application.Run "'Personal.xls'!Test", "Goodbye"

Personal.xls is available in all Excel versions, but you don't have to call
it Personal.xls. You could create a workbook called Macro.xls if you wanted
and put your macros there, as long as it is in the XLStart directory. I am
not advocating that, just explaining what you can do.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"R. SRIKANTH" wrote in message
...
Hells guys/gals,
I have created different macros for different reports. i came across

personal.xls
how to copy different macros in personal.xls file and after copying it to

personal.xls how to use it in the new worksheet.
Also, is personal.xls available in all windows edition





All times are GMT +1. The time now is 10:13 AM.

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