Remove Macros

peelamedu_bulls

New Member
Joined
Nov 30, 2005
Messages
29
I have a workbook that has some macros which filters some data and saves the file in a different name.
The problem is the saved file has all the macros that was originaly in the source file.
Please let me know if I can save the new workbook without the macros in it.
 

Some videos you may like

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Tazguy37

MrExcel MVP
Joined
May 28, 2004
Messages
4,237
Welcome to MrExcel Board!

If the new workbook doesn't use those macros then, of course you can delete the code. If it does use them, you'll have to either keep them in that workbook's code, or put the code in an add-in.
 

peelamedu_bulls

New Member
Joined
Nov 30, 2005
Messages
29
Thanks for the reply.

I want to delete the macro in the saved worksheet in a VBA code from the earlier workbook.
I don't want to manually delete the macro.
Can this be done ?
 

Watch MrExcel Video

Forum statistics

Threads
1,118,032
Messages
5,569,764
Members
412,291
Latest member
marypolitan
Top