Sticky Forms

S

stephen.e.rich

I am new to VBA and trying to create forms that retain their values
between sessions without storing the userform data in a separate file.
The idea is to find a way to store the information in the .mpp file so
that when the file is passed to another user the form values remain.
Is this possible?

Thanks for the help,


Stephen
 
J

Jan De Messemaeker

Hi,

It depends
Which values? How many?

You can always use the custom fields of the ProjectSummary Task, and Custom
File Properties.
 
S

stephen.e.rich

Nothing more than a dozen controls. How do I manipulate the two items
you suggested?


thanks for the help
 
J

Jan De Messemaeker

Hi,

Activeproject.projectsummarytask.text22
"Text22" can of course be any of the custom fields
As for CustomDocumentProperties, that is a longer story and I have to refer
you to the help (readily available through the object browser in the Visual
Basic Editor).

Both processes I describe here only allow to store data (Text, Numbers,
dates..) but not objects such as controls themselves.

Hope this helps,
 
S

stephen.e.rich

Thanks, I can definitely look it up in help now that I know what to
search on. What would you suggest for storing objects if I need to in
the future. Just need a pointer on where to look. Thanks again for
your help.
 
J

Jan De Messemaeker

Hi,

The form itself can be stored with the project
It is considered a module in the Organizezr so in Tools, Organizer, Modules,
move it into the file.
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