Hi
I have been using the following code to save a worksheet onto a new drive whenever the workbook is closed.
I want to modify this VBA
So it make a values only sheet. Is this possible?
Martin
I have been using the following code to save a worksheet onto a new drive whenever the workbook is closed.
I want to modify this VBA
Code:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.DisplayAlerts = False
Worksheets("Gross Sales Value").Copy
Set wbNew = ActiveWorkbook
wbNew.SaveAs "L:\Performance Data\UK Sales\Sales (Latest).xls"
wbNew.Close True
Application.DisplayAlerts = True
End Sub
So it make a values only sheet. Is this possible?
Martin