Macro to save as two files at once

sudheesh

New Member
Joined
Jul 10, 2013
Messages
22
Hi,

One of my Daily tasks at work involve preparing time stamp report. I run an SQL Query and get the data I need. Now inorder to present the data to relevant people I copy and paste the data on a template which is named "Promise Data Master" then the second excel file which is called "Hourly Promise Report Master" which takes the data from Promise Data Master and presents it in Tables and charts. What I essentially want to do is to place a Macro in my "Hourly Promise Report Master" which when run will 'Save As' with a time stamp as an normal excel file in a specified location and will also 'save as' the "Promise Data Master" with a time stamp in a different location.

Can this be achieved in a single macro across two files?

If yes please help.

Thanks

Sudheesh
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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