Hi Ty,
I have design, new workbook with the same task for you...
After you click the button, then the file will
1) I have change your file to be Auto_Open, this means that immediately you open the file, then it will auto run and after finish, automatically close the application.
2) you will find your new excel.xls in your path and the file.xlt will update the cell C3 and also saved.
3) I add another 1 line to check, if activeworkbook ="New Part Form Template.xlt" then perform task, else nothing.
Remark:
1) For this is Auto run, then to interrupt, press Shift during open the file, till the file open.
2) Please change the path to be yours.
2) Change the number in sheet 1 cell C3 to be your last number of file, then the next file will be Last num + 1
----------------------------------------------------------------------
Sub auto_Open()
FileChk = ActiveWorkbook.Name
If FileChk = "New Part Form Template.xlt" Then
Range("C3").Value = Range("C3").Value + 1
NewNm = Range("C3").Value
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:= _
("G:\_EggHeadCafe\New Part Form Template.XLT"), FileFormat:= _
xlTemplate, Password:="", WriteResPassword:="", ReadOnlyRecommended:= _
False, CreateBackup:=False
ActiveWorkbook.SaveAs Filename:= _
("G:\_EggHeadCafe\New Part Request-" & NewNm & ".XLS"), FileFormat:= _
xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:= _
False, CreateBackup:=False
End If
Application.Quit
End Sub
-------------------------------------------------------------------------------------------
Pichart Y.