Hi, I have a macro which runs when the workbook is closing where I can create the filename.
is It possible to change the code in macro so that I can add 4 letters to the existing filename with an input box.?
Code:
Sub shiftchnage()
'
' shiftchnage Macro
'
FileName1 = InputBox("Input filename ", "Filename")
ActiveWorkbook.Save
ChDir "c:\"
ActiveWorkbook.SaveAs Filename:="K:\ESS- 2005\Production Meeting\Daily 6 fundamentals\Current Trackers\UNIT 4 TRACKERS\SCAM Trackers\CAMERA TRACKER\" & FileName1, FileFormat:=52, _
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _
CreateBackup:=False
Call Shell("explorer.exe" & " " & "K:\_Group_Leaders\Group Leader Log\UNIT 1 CHANGEOVERS\", vbNormalFocus)
ActiveWorkbook.Save
End Sub
is It possible to change the code in macro so that I can add 4 letters to the existing filename with an input box.?