Hi,
I have a file where data is entered, at the end a tab is saved as a separate file, all formulae and links are closed by a Copy Paste Special Values, and the separate file is closed. The filename should be a serial number, posted in a separate cell.
Currently, the macro looks like this:
Sheets("Docket").Select
Sheets("Docket").Copy
ActiveWorkbook.SaveAs Filename:="L:\FC\RENE\Goodies\docket laundry 01.xlsx", _
FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
ActiveWorkbook.Save
ActiveWorkbook.Close
The filename and location should come from a cell in another tab. How can I do this?
I have a file where data is entered, at the end a tab is saved as a separate file, all formulae and links are closed by a Copy Paste Special Values, and the separate file is closed. The filename should be a serial number, posted in a separate cell.
Currently, the macro looks like this:
Sheets("Docket").Select
Sheets("Docket").Copy
ActiveWorkbook.SaveAs Filename:="L:\FC\RENE\Goodies\docket laundry 01.xlsx", _
FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
ActiveWorkbook.Save
ActiveWorkbook.Close
The filename and location should come from a cell in another tab. How can I do this?