Mismatch error on FileOpen command

S

SonT

When I type in the following code:

set proj2 = FileOpen("h:\sme.mpp")

I got mismatch error. Please let me know how I can fix it.

Thanks.
 
J

John

SonT said:
When I type in the following code:

set proj2 = FileOpen("h:\sme.mpp")

I got mismatch error. Please let me know how I can fix it.

Thanks.

SonT,
As far as I know you can't set an object using the FileOpen Method.
Delete the "set proj2 =" part and it should work, although you may need
the full path if sme.mpp is not at the "h:" level.

John
Project MVP
 

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