Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I batch convert 97-2003 .xls files to 2007 .xlsx files Dave Nuttall Excel Discussion (Misc queries) 4 August 3rd 09 11:38 PM
excel, install perl script 2apart Excel Discussion (Misc queries) 0 March 26th 08 11:28 PM
Batch conversion of XP files to 97 files AG Excel Discussion (Misc queries) 2 October 2nd 05 02:08 PM
Module1 vs Thisworkbook for Macro Craigm[_16_] Excel Programming 4 June 28th 05 01:17 PM
Batch files and VBA daver676 Excel Programming 2 September 17th 03 06:57 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"