ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Install ThisWorkbook and Module1 files with batch script (https://www.excelbanter.com/excel-programming/338706-install-thisworkbook-module1-files-batch-script.html)

Mark

Install ThisWorkbook and Module1 files with batch script
 
In Excel VBA, I know I can create Add-ins for userDefined functions. However,
can I install a "ThisWorkbook" file and "Module1" to an existing Excel sheet,
ideally through a batch script. Is this even possible?

Thanks,
Mark

Norman Jones

Install ThisWorkbook and Module1 files with batch script
 
Hi Mark,

See Chip Pearson's page on VBE programming at:

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


---
Regards,
Norman



"Mark" wrote in message
...
In Excel VBA, I know I can create Add-ins for userDefined functions.
However,
can I install a "ThisWorkbook" file and "Module1" to an existing Excel
sheet,
ideally through a batch script. Is this even possible?

Thanks,
Mark




Tom Ogilvy

Install ThisWorkbook and Module1 files with batch script
 
Look at Chip Pearson's page on this topic

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

--
Regards,
Tom Ogilvy

"Mark" wrote in message
...
In Excel VBA, I know I can create Add-ins for userDefined functions.

However,
can I install a "ThisWorkbook" file and "Module1" to an existing Excel

sheet,
ideally through a batch script. Is this even possible?

Thanks,
Mark




Peter T

Install ThisWorkbook and Module1 files with batch script
 
Hi Mark,

Chip Pearson describes very well how to do it -

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

Be sure to read his notes about setting a ref' to the VBA Extensibility
library.

Regards,
Peter T

"Mark" wrote in message
...
In Excel VBA, I know I can create Add-ins for userDefined functions.

However,
can I install a "ThisWorkbook" file and "Module1" to an existing Excel

sheet,
ideally through a batch script. Is this even possible?

Thanks,
Mark





All times are GMT +1. The time now is 05:15 PM.

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