FileClose Reopens Project File After Closing It???

C

Chris

This is driving me nuts...

At the end of my macro, I want to save and close the project file and be
done with it:

' Close Project File
FileClose pjSave

'Close Form
Unload Me

....simple enough right? But for some reason, it re-opens the project once
the save progress bar shows its been saved. What am I missing here???

Thanks for any light that can be shed on this mystery!

- Chris
 
J

John

Chris said:
This is driving me nuts...

At the end of my macro, I want to save and close the project file and be
done with it:

' Close Project File
FileClose pjSave

'Close Form
Unload Me

...simple enough right? But for some reason, it re-opens the project once
the save progress bar shows its been saved. What am I missing here???

Thanks for any light that can be shed on this mystery!

- Chris

Chris,
Hey, we're all nuts here, so you are in good company :)

It sounds like there is more to the file close event code or the form
code than is shown above. It would set a breakpoint in the file close
code and then step through a close to see where it is going awry.

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