Check permission in VBA

M

med111

Hello.
in project 2007.
How can we check if the user have the appropriate permission to open
an entreprise project in VBA.
I must make this check before opening (programmatically)a given
project name.
 
M

med111

I can't trap this error
this code don't work in case of lack of permission .

....
on on error goto label
fileopenex "<>\" & projectName ...
exit sub
label:
strError = "Error occured"

any idea?
 

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