VinceF
Board Regular
- Joined
- Sep 22, 2007
- Messages
- 189
- Office Version
- 2016
- Platform
- Windows
Greetings,
Hopefully a simple one. I've searched here and the web but couldn't find an answer.
I'm using the code below to save the results of a golf round.
As it is now the saved file looks like this... WED, NOV, 06QUOTA & SKINSROUND#2.XLSM
I'd like to have it look like this...WED, NOV 06 QUOTA & SKINS ROUND#2.XLSM (note the space between the date and the game type and between the game type and the round#2)
Ideally instead of a space there'd be a dash (-) but I don't think special characters are allowed, are they??
Sub SaveWithTodaysDate()
ActiveWorkbook.SaveAs ("C:\Golf\Indianwood\Results\" & ThisWorkbook.Sheets("Main").Range("AL2").Value & ThisWorkbook.Sheets("Main").Range("O2").Value & ThisWorkbook.Sheets("Main").Range("AI3").Value & ThisWorkbook.Sheets("Main").Range("AK3").Value & ".xlsm")
End Sub
Thank You,
VinceF
Office 2016
Hopefully a simple one. I've searched here and the web but couldn't find an answer.
I'm using the code below to save the results of a golf round.
As it is now the saved file looks like this... WED, NOV, 06QUOTA & SKINSROUND#2.XLSM
I'd like to have it look like this...WED, NOV 06 QUOTA & SKINS ROUND#2.XLSM (note the space between the date and the game type and between the game type and the round#2)
Ideally instead of a space there'd be a dash (-) but I don't think special characters are allowed, are they??
Sub SaveWithTodaysDate()
ActiveWorkbook.SaveAs ("C:\Golf\Indianwood\Results\" & ThisWorkbook.Sheets("Main").Range("AL2").Value & ThisWorkbook.Sheets("Main").Range("O2").Value & ThisWorkbook.Sheets("Main").Range("AI3").Value & ThisWorkbook.Sheets("Main").Range("AK3").Value & ".xlsm")
End Sub
Thank You,
VinceF
Office 2016