I have this code and is all perfect, then only think is it is taking time as Filling cells
Is there a way as to reduce the time take
As it creates a new workbook and then moves 2 sheets form old to new.
Is there a way as to reduce the time take
As it creates a new workbook and then moves 2 sheets form old to new.
VBA Code:
Sub SaveFileMN()
Dim sFilename As String
Workbooks("Fiserv Intraday Generator Hourly V1.xlsb").Activate
sFilename = Sheets("Email").Range("F5").Value & ".xlsx"
Workbooks.Add
'Saving the Workbook
ActiveWorkbook.SaveAs ThisWorkbook.Path & "\" & "ISFAtt" & "\" & sFilename
Application.Calculation = xlCalculationManual
Set w1 = Workbooks("Fiserv Intraday Generator Hourly V1.xlsb")
Set W2 = Workbooks(sFilename)
w1.Sheets("Summary_US").Copy Before:=Workbooks(sFilename).Sheets(1)
ActiveSheet.UsedRange.Value = ActiveSheet.UsedRange.Value
Set w1 = Workbooks("Fiserv Intraday Generator Hourly V1.xlsb")
Set W2 = Workbooks(sFilename)
w1.Sheets("US Intraday Hourly - EOD ").Copy After:=Workbooks(sFilename).Sheets("Summary_US")
End sub