ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Removing Macros when saving a copy of excel file (https://www.excelbanter.com/excel-programming/412150-removing-macros-when-saving-copy-excel-file.html)

Canlink

Removing Macros when saving a copy of excel file
 
Hi All:
Anybody has any code to remove macros when you save a "copyas". It
would be nice to be able to do this on back-up of data so that the
daily file will be reduced in size.
geoff

Gord Dibben

Removing Macros when saving a copy of excel file
 
Chip Pearson has the code to delete modules when saving.

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


Gord Dibben MS Excel MVP

On Thu, 5 Jun 2008 13:56:12 -0700 (PDT), Canlink wrote:

Hi All:
Anybody has any code to remove macros when you save a "copyas". It
would be nice to be able to do this on back-up of data so that the
daily file will be reduced in size.
geoff



Canlink

Removing Macros when saving a copy of excel file
 
On Jun 5, 7:37 pm, Gord Dibben <gorddibbATshawDOTca wrote:
Chip Pearson has the code to delete modules when saving.

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

Gord Dibben MS Excel MVP

On Thu, 5 Jun 2008 13:56:12 -0700 (PDT), Canlink wrote:
Hi All:
Anybody has any code to remove macros when you save a "copyas". It
would be nice to be able to do this on back-up of data so that the
daily file will be reduced in size.
geoff


Thanks Gord, just what I was looking for


All times are GMT +1. The time now is 11:13 PM.

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