I'm using this code to save a file:-
fName = Range("Q2").Value
ActiveWorkbook.SaveAs Filename:=sPath & "Issue " & fName & ".xls"
If Q2 has a value in of 4, it saves it as Issue 4, I need it to save as Issue 004. If 5 was entered then it would be Issue 005.
Can anyone help?
fName = Range("Q2").Value
ActiveWorkbook.SaveAs Filename:=sPath & "Issue " & fName & ".xls"
If Q2 has a value in of 4, it saves it as Issue 4, I need it to save as Issue 004. If 5 was entered then it would be Issue 005.
Can anyone help?