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
 
Top