I currently have the Save blocked to where you can only do a Save As.
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If Not SaveAsUI Then
Cancel = True
End If
End Sub
But I also am wanting when you go to Save As it will have the contents from Sheet "Data" B3 in the filename. I do not care to add the file save location, I only want to add the filename from B3 in .xlsm format. Is that possible to have the name automatically placed in the filename when you click on File/Save As?
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If Not SaveAsUI Then
Cancel = True
End If
End Sub
But I also am wanting when you go to Save As it will have the contents from Sheet "Data" B3 in the filename. I do not care to add the file save location, I only want to add the filename from B3 in .xlsm format. Is that possible to have the name automatically placed in the filename when you click on File/Save As?