I have a workbook that has multiple sheets, and I have a macro that will copy and paste three select sheets into a new workbook. I'd like to add an automatic save on the new workbook, but i'd like it to save in two places. One being the same place as the workbook that runs the macro, the other being in G:\MI\. If possible, i'd like the name of the new workbook to be "BR - today's date". Any help would be appreciated. Here's the code I am working off now.
Thanks.
Code:
Sub CopyInNewWB() Dim wbO As Workbook, wbN As Workbook
On Error GoTo ErrHandler
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
Application.DisplayAlerts = False
Set wbO = ActiveWorkbook
Set wbN = Workbooks.Add
wbO.Sheets("Tracking").Copy wbN.Sheets(1)
With ActiveSheet.UsedRange
.Value = .Value
End With
wbO.Sheets("Bridge").Copy wbN.Sheets(2)
With ActiveSheet.UsedRange
.Value = .Value
End With
wbO.Sheets("Overview (Age)").Copy wbN.Sheets(3)
With ActiveSheet.UsedRange
.Value = .Value
End With
wbN.Sheets("Sheet1").Delete
wbN.Sheets("Bridge").Activate
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
Application.DisplayAlerts = True
ErrHandler:
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
Application.DisplayAlerts = True
End Sub
Thanks.