问题
How to save xls to another folder?
When I use "/" in save path it replaces then with ":". When I try to use "\" it saves the file with "\" in file name.
回答1:
Use the Application.PathSeparator property and as an added bonus it'll be platform agnostic.
myPath = "myDirectory" & Application.PathSeparator & "mySubDirectory" & Application.PathSeparator & "myFileName"
来源:https://stackoverflow.com/questions/7198871/workbook-saveas-to-different-folder-in-office-2011-for-mac