Close the window

J

JimS

I want to execute an application written in VBA (because I can't seem to find
a way to use VB.net with MSP...), and provide a button to close the window
associated with that app and end the app. What's the method for doing that? I
don't want to close the project, just the app.

I am still hoping to use VB.net instead of VBA if anyone knows how to
reference the MSP object (not Server) within VB.net....

Thanx

Jim
 
J

Jan De Messemaeker

Which application?
When you close MS project you will also close the project itself.
Help me, I don't understand
 
J

JimS

I'm sorry. I've written a VBA app for MSP. It consists of a form with a
button and code to rifle through the project bouncing data against a database
table to see if any deadlines should be changed. The table of deadlines is
kept by another group in an Access database keyed to a text field I keep in
the MSP project.

After I've finished updating the data I need to update, I want to close the
form and let the user continue to use MSP. How do I do that without closing
the MSP project at the same time?
 
J

Jan De Messemaeker

Hi,

Theform.hide hides it but leaves its values accessible to the procedure
Unload theform closes it completely.
HTH
 

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