FileSaveAs MS Project to MS Access

S

Ski

I am trying to save a MS Project File to MS Access based on user input,

so i can't specify an exact path. I need to save the data from
Project to Access (using FileSaveAs). Here is the piece of code that
does
not work. Thanks in advance:

FileSaveAs Name:="<" & AccessFName & "<\" & ProjectFName,
FormatID:="MSProject.MDB8"

'FileSaveAs is a problem, I get a run-time error 1101 - Value is not
Valid

The code works when i specify a path,
AccessFName = Access File Path & File Name
ProjectFName = Project File Name
 
T

Tom Ogilvy

Why not post this in a project or Access group - choose the one that
corresponds to the application where you are writing the code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top