Opening a UserForm in a different template file. 
Author Message
 Opening a UserForm in a different template file.

Hi,

Can anyone tell me how to directly reference/open a userform located in
a different template file?

I am using Word97 and have referenced the template file containing the
desired userform.

Having made the reference I can use modules, classes and public
variables/constants etc found in the target template but I can't see the
userforms :(

Thanks in advance,

Andy



Fri, 09 Jan 2004 23:21:25 GMT  
 Opening a UserForm in a different template file.
Hi Andy,

Quote:
> Can anyone tell me how to directly reference/open a userform located in
> a different template file?

> I am using Word97 and have referenced the template file containing the
> desired userform.

> Having made the reference I can use modules, classes and public
> variables/constants etc found in the target template but I can't see the
> userforms :(

You can place a Public Sub in a module the target template that shows the
UserForm, then just run that sub from the calling document.

--
Hope this helps.
ibby

Please post replies or follow-ups to the **newsgroup** so that participants
may benefit or contribute.



Fri, 09 Jan 2004 23:36:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. The vba userform is not displayed when User opens my template

2. Open Template UserForm as a Document.

3. Template name and file date in userform

4. Userform size on different PCs/different resolutions- yikes!

5. mailmerge with different templates (250 letters per file)

6. Code opens the template but can't save as a doc file

7. Opening Word file with template in use

8. Opening Word File Using Template

9. Open fixed length text file into a template?

10. Open File Common Control Template

11. Open File Common Control Template

12. how to show userform from normal template

 

 
Powered by phpBB® Forum Software