Hi all,
I'm using this vba I've found to run a Save As box to open and point to a specific location on a network drive so the user only has to enter the filename they want to save the workbook as. It seems to default to a macro free workbook. Is there anyway of keeping this vba as it works but for it to force to save in .xlsm?
Thank you
I'm using this vba I've found to run a Save As box to open and point to a specific location on a network drive so the user only has to enter the filename they want to save the workbook as. It seems to default to a macro free workbook. Is there anyway of keeping this vba as it works but for it to force to save in .xlsm?
Thank you
VBA Code:
Sub SAVETOSUB()
ThisWorkbook.Save 'save current workbook in current name
With Application.FileDialog(msoFileDialogSaveAs)
AllowMultiSelect = False
.InitialFileName = "X:\Airfield Operations\2023 Airfield Inspection and Data\Aircraft High Powered Engine Runs\NEW\Pending Runs\"
If .Show = -1 Then .Execute
End With
End Sub