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 can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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
 
Upvote 0

Forum statistics

Threads
1,218,617
Messages
6,143,499
Members
450,491
Latest member
Ccruz444

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
Back
Top