ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Storing macros outside of Excel VB (https://www.excelbanter.com/excel-programming/279793-storing-macros-outside-excel-vbulletin.html)

SwiftCode

Storing macros outside of Excel VB
 
Hi,

I was wondering whether it is possible to have Excel
call a macro from outside of the application and run it
within the spreadsheet itself (independently).

If it is possible, then how can I create such a macro,
and what do I need to do.

Thanks
Ray



Dave Peterson[_3_]

Storing macros outside of Excel VB
 
Chip Pearson has some code that shows how to import a text file into your
modules:

http://www.cpearson.com/excel/vbe.htm

But maybe an alternative would be to create a macro workbook (or addin) that can
be executed on demand.

SwiftCode wrote:

Hi,

I was wondering whether it is possible to have Excel
call a macro from outside of the application and run it
within the spreadsheet itself (independently).

If it is possible, then how can I create such a macro,
and what do I need to do.

Thanks
Ray


--

Dave Peterson



All times are GMT +1. The time now is 01:06 PM.

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