I'm trying to write a macro to save the MS Project to an access database. The users have the option to enter the file name and location. I have designed a map called Export Resources.
This is what I have now:
SaveFileName = InputBox$("Enter Path and file to save project to: ")
FileSaveAs Name:=SaveFileName, FormatID:="MSProject.mdb8", map:="Export Resources"
When I run this, I get a runtime error: The argument value is not valid.
When I try the exact same thing to save to Excel, it works.
Any ideas?
This is what I have now:
SaveFileName = InputBox$("Enter Path and file to save project to: ")
FileSaveAs Name:=SaveFileName, FormatID:="MSProject.mdb8", map:="Export Resources"
When I run this, I get a runtime error: The argument value is not valid.
When I try the exact same thing to save to Excel, it works.
Any ideas?