austin397
New Member
- Joined
- Dec 16, 2016
- Messages
- 36
Hello all,
I am trying to force this to input the specified file name into the dialogue box for the save as box. However it remains blank when I use the extension ".xlsx" but when it is ".xls" it works fine.
I need this to be saved as ".xlsx" so that it will be macro-free.
Thank you for any help!
Code:
File_Name = SK & "-" & Year & Month & Day & "-" & Daily_Drawing_Number & " BOM" & Rev_Letter & ".xlsx"
Application.Dialogs(xlDialogSaveAs).Show (File_Name)
I am trying to force this to input the specified file name into the dialogue box for the save as box. However it remains blank when I use the extension ".xlsx" but when it is ".xls" it works fine.
I need this to be saved as ".xlsx" so that it will be macro-free.
Thank you for any help!