Jemma Atkinson
Well-known Member
- Joined
- Jul 7, 2008
- Messages
- 509
Hi i have a splashscreen in the active workbook, how can i get the macro to transfer the splashscreen when creating a new workbook with the following sheets. I dont think its possible without manually transfering the spashscreen everytime i run the below code?
Code:
Sub Save_File()
Application.ScreenUpdating = False
Sheets(Array("SUMMARY", ">30_DAYS_CASH")).Copy
With ActiveWorkbook
.Sheets("SUMMARY").Cells.Copy
.Sheets("SUMMARY").Cells(1).PasteSpecial xlPasteValues
.Sheets(">30_DAYS_CASH").Cells.Copy
.Sheets(">30_DAYS_CASH").Cells(1).PasteSpecial xlPasteValues
.Sheets("CASH_AUD_100K_999K").Cells.Copy
.SaveAs Filename:="S:RECS\Reporting\Stats\Summary Stats over 30 days\" & Format(Date, "yyyy\\MMM") & _
"\Stat Summary_" & Format(Date, "dd-mm-yy") & ".xls"
.Close False
End With
Application.ScreenUpdating = True
End Sub