How to show save as dialog box with xlsm as default save as file type in mac excel 2011?
Application.FileDialog(msoFileDialogSaveAs)
works fine in windows. But it throws error in Mac
Thanks in Advance!!!
There are some features that do not work on MacOS, try this as an alternative:
Dim saveName As Variant
saveName = Application.GetSaveAsFileName()
If Not saveName = False Then
ActiveWorkbook.SaveAs CStr(saveName)
Else
MsgBox "File not saved!"
End If
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.