check if file open

T

theintern

is there a way to check if a file is open, and if not, save the current
project to that file? using vba of course...

thanks!
scott
 
J

Jan De Messemaeker

Hi,

For instance:

IsOpen=false
for each Pj in projects
if pj.fullname=thenameyoulookfor then
isopen=true
exit for
end if
next pj
if not isope,
filesaveas thenameyoulookfor
HTH


--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
 

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