I am working with a script that will save a SHEET from my workbook to a location on my computer but it opens it up also. SO I am trying to get that NOT to open or at the least we I can get that file to close.
Here is where I am at now:
Application.DisplayAlerts = False
ActiveSheet.Select
ActiveSheet.Copy
ActiveSheet.SaveAs Filename:="G:\INV" & Range("L1").Value & " Inv Report.xlsx" OPENS HERE
Workbooks("G:\INV" & Range("L1").Value & " Inv Report.xlsx").Close Wont CLOSE
Application.DisplayAlerts = True
Thanks in advance!
Here is where I am at now:
Application.DisplayAlerts = False
ActiveSheet.Select
ActiveSheet.Copy
ActiveSheet.SaveAs Filename:="G:\INV" & Range("L1").Value & " Inv Report.xlsx" OPENS HERE
Workbooks("G:\INV" & Range("L1").Value & " Inv Report.xlsx").Close Wont CLOSE
Application.DisplayAlerts = True
Thanks in advance!