Child Documents and Embeded controls

T

Troy Zeleznik

What I'm trying to do:
I'm designing a template for use between supplier (me) and
vendor. Initial events occur with creation: NEWDOCUMENT
and child document is configured per scope of supply. No
problem doing this. After child document creation I want
to use document-embedded controls (checkbexs, listboxes,
etc) to change the document at local level. For example,
if a drawing is supplied, I want to insert a spot to enter
its number and rev. for recording puroses.

How I'm trying to do it:
The Embeded controls coding is going in to
the "ThisDocument" sheet of the Parent-template. When I
open a new child-document based on the template,
the "ThisDomument" sheet of the chid is empty. The Child
document contains the control object but no associated
code.

Is it possible to use DOCUMENT CONTROLS in this manner?
How can I propagate embeded controls code from the
template to the child document?

Thanks for the help...
 
W

Word Heretic

G'day "Troy Zeleznik" <[email protected]>,

you need to copy in .lines into the thisdocument vbproject.vbcomponent

I like to store said lines in their own class module to make it easier
to a) keep them outa the compilers road and b) isolate them for
identification and development.


Troy Zeleznik said:
What I'm trying to do:
I'm designing a template for use between supplier (me) and
vendor. Initial events occur with creation: NEWDOCUMENT
and child document is configured per scope of supply. No
problem doing this. After child document creation I want
to use document-embedded controls (checkbexs, listboxes,
etc) to change the document at local level. For example,
if a drawing is supplied, I want to insert a spot to enter
its number and rev. for recording puroses.

How I'm trying to do it:
The Embeded controls coding is going in to
the "ThisDocument" sheet of the Parent-template. When I
open a new child-document based on the template,
the "ThisDomument" sheet of the chid is empty. The Child
document contains the control object but no associated
code.

Is it possible to use DOCUMENT CONTROLS in this manner?
How can I propagate embeded controls code from the
template to the child document?

Thanks for the help...

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email: (e-mail address removed)
Products: http://www.geocities.com/word_heretic/products.html
Spellbooks: 728 pages of dump left and dropping...

The VBA Beginner's Spellbook: For all VBA users.
 

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