Im really getting frustrated and on this for a few days (not an excel expert at all)
My question is:
I have the last part of my VBA correct, which removes written data in specific cells, adds a number in a specific cell (invoice number), changes the date to the correct
date and prints 1 copy.
the first part however, wont work. Is it possible for my excel file to be saved in multiple locations with different extensions.
I want 1 file to be exported as PDF in a networkfolder in a subfolder called PDF
and I want 1 file to be save as excel file in the same networkfolder but then in a subfolder called EXCEL.
My question is:
I have the last part of my VBA correct, which removes written data in specific cells, adds a number in a specific cell (invoice number), changes the date to the correct
date and prints 1 copy.
VBA Code:
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False
Range("C3:D5").ClearContents
Range("B1").Select
Range("F1").Value = Date
Range("B1").Value = Range("B1").Value + 1
the first part however, wont work. Is it possible for my excel file to be saved in multiple locations with different extensions.
I want 1 file to be exported as PDF in a networkfolder in a subfolder called PDF
and I want 1 file to be save as excel file in the same networkfolder but then in a subfolder called EXCEL.