Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Remove VB Module from workbook
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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Remove Protected Macro Code from Excel Module | Excel Discussion (Misc queries) | |||
How correct (or remove) "Compile error in hidden module: DistMon" | Excel Discussion (Misc queries) | |||
how do I remove workbook protection? | Excel Discussion (Misc queries) | |||
CLASS MODULE & SIMPLE MODULE | Excel Discussion (Misc queries) | |||
code in module A to not execute a Worksheet_SelectionChange sub of another module | Excel Discussion (Misc queries) |