Doubt with save as.

rajeshvk33

New Member
Joined
Feb 24, 2009
Messages
4
Hi,

I recorded macro.When i give Save as recorded macro also get inherited to new macro created.
Please suggest me how to avoid above.

Example :
I record macro ( SAV ) in Book1.xls.when i run the SAV macro and give files save as Book2.xls.
Book2.xls also inherit the macro saved in Book2.xls

:) Thanks in Advance.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

james_lankford

Well-known Member
Joined
Jan 11, 2009
Messages
1,207
maybe record a new macro, but make the first step to pen a new workbook, then do a saveAs for the new workbook, then stop recording the macro
that way one workbook is the "driving" program that creates and saves the "data" workbook
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,486
Messages
5,837,611
Members
430,505
Latest member
DevAlex

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top