Philip1957
Board Regular
- Joined
- Sep 30, 2014
- Messages
- 185
- Office Version
- 365
- Platform
- Windows
Greetings,
I have a macro that creates a new workbook and saves it with the file name composed of a number in cell A09.
How can I insert a prefix to the file name? Currently it saves the file as just a number, 35.xlxs, but I would like it to save the file as TDN-35.xlxs
Thanks in advance for any assistance.
~ Phil
I have a macro that creates a new workbook and saves it with the file name composed of a number in cell A09.
Code:
ActiveWorkbook.SaveAs Filename:=ThisWorkbook.Path & "\TDN Forms\" & Worksheets("Rev #").Range("AO9") & ".xlsx", CreateBackup:=False
How can I insert a prefix to the file name? Currently it saves the file as just a number, 35.xlxs, but I would like it to save the file as TDN-35.xlxs
Thanks in advance for any assistance.
~ Phil