Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Remove VB Module from workbook

Is there a way to programatically remove a module from
either the acive or another open workbook?

My goal is to save a workbook with another name on a
network drive (through VB code), without including the VB
module in the original.

Any suggestions?

Thanks,
Nikos
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Thanks!

Chip,

Many thanks, that was relly helpful!

Regards,
Nikos
-----Original Message-----
Nikos,

Yes, it is possible. See www.cpearson.com/excel/vbe.htm

for details and
example code.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com

"Nikos Yannacopoulos" wrote in message
...
Is there a way to programatically remove a module from
either the acive or another open workbook?

My goal is to save a workbook with another name on a
network drive (through VB code), without including the

VB
module in the original.

Any suggestions?

Thanks,
Nikos



.

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
Remove Protected Macro Code from Excel Module TGV[_2_] Excel Discussion (Misc queries) 4 August 24th 09 04:10 PM
How correct (or remove) "Compile error in hidden module: DistMon" wlfoote Excel Discussion (Misc queries) 1 June 6th 09 02:57 AM
how do I remove workbook protection? Psilva Excel Discussion (Misc queries) 1 March 9th 09 03:10 PM
CLASS MODULE & SIMPLE MODULE FARAZ QURESHI Excel Discussion (Misc queries) 1 September 7th 07 09:32 AM
code in module A to not execute a Worksheet_SelectionChange sub of another module Jack Sons Excel Discussion (Misc queries) 4 December 11th 05 11:52 PM


All times are GMT +1. The time now is 05:32 AM.

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

About Us

"It's about Microsoft Excel"