Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
When Saving As
Is there any way when a workbook is saved as that the new workbook doesn't
keep the code from the main workbook. Thanks Mike |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
When Saving As
Hi Mike
Excel version ? In 97-2003 if there is no code in the sheet module's you can use Worksheets.Copy This create a new workbook with all worksheets without the modules and the code in the thisworkbook module. You can save this workbook then Or use Chip's code http://www.cpearson.com/excel/vbe.htm Excel 2007 Save the workbook as xlsx (macro free workbook) and it will remove all code. -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Mike" wrote in message ... Is there any way when a workbook is saved as that the new workbook doesn't keep the code from the main workbook. Thanks Mike |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
When Saving As
http://www.cpearson.com/excel/vbe.htm
has sample code for deleting code. -- Regards, Tom Ogilvy "Mike" wrote in message ... Is there any way when a workbook is saved as that the new workbook doesn't keep the code from the main workbook. Thanks Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Automaticly saving formula's to values when saving | Excel Discussion (Misc queries) | |||
saving | New Users to Excel | |||
Saving a spreadsheet without saving the Macro | Excel Programming | |||
saving with VBA | Excel Programming | |||
Saving a Workbook: Forcing User to Rename before Saving | Excel Programming |