Thanks in advance for your help
I had to move my macros into a personal macro workbook and now the SAVE AS macro will not work. I have several macros that i use the call function with and the last step is to save the workbook. Now that the macros are in the personal macro workbook the save as macro saves everything as "PERSONAL.XLSB". The goal would be to save the active file with its current name. ie - Rikki_ws
Current code is as follows
Sub SaveWorkbook()
With Application.FileDialog(msoFileDialogFolderPicker)
.AllowMultiSelect = False
.Show
If .SelectedItems.Count > 0 Then
sPath = .SelectedItems(1)
ThisWorkbook.SaveAs Filename:=sPath & Application.PathSeparator & "Copy of " & ThisWorkbook.Name
Cancel = True
End If
End With
End Sub
I had to move my macros into a personal macro workbook and now the SAVE AS macro will not work. I have several macros that i use the call function with and the last step is to save the workbook. Now that the macros are in the personal macro workbook the save as macro saves everything as "PERSONAL.XLSB". The goal would be to save the active file with its current name. ie - Rikki_ws
Current code is as follows
Sub SaveWorkbook()
With Application.FileDialog(msoFileDialogFolderPicker)
.AllowMultiSelect = False
.Show
If .SelectedItems.Count > 0 Then
sPath = .SelectedItems(1)
ThisWorkbook.SaveAs Filename:=sPath & Application.PathSeparator & "Copy of " & ThisWorkbook.Name
Cancel = True
End If
End With
End Sub