One Form to rule them all...

WebGenii
StarLounger
Posts: 58
Joined: 26 Jan 2010, 18:21

One Form to rule them all...

Post by WebGenii »

What I have here is a performance question. My scenario here is a template scenario where there are multiple templates that all use the same form at some point in time. Now I didn't set this up originally and I'm just learning the bits and pieces here as I take on the maintenance role. But I'm thinking that pointing all the individual templates to one "master template" that contains among other things the form that they all use SHOULD make maintenance easier in the long run.
Are there any gotchas I should be aware of?

User avatar
Charles Kenyon
5StarLounger
Posts: 609
Joined: 10 Jan 2016, 15:56
Location: Madison, Wisconsin

Re: One Form to rule them all...

Post by Charles Kenyon »

By "one form" do you mean a UserForm (a vba construct that gives a custom dialog box)?

Have form in a Global Template and have it act on the ActiveDocument. Call it from your other templates.

WebGenii
StarLounger
Posts: 58
Joined: 26 Jan 2010, 18:21

Re: One Form to rule them all...

Post by WebGenii »

Hi Charles
Yes, that is what I meant - a UserForm, stored in a template at the global level.
Is there anything I need to be aware of (syntax-wise) when calling up a form in this way?