J
James
A couple questions about working with images (call it
Image1) inserted from the controls toolbox.
First, is it possible to test for the existence of
Image1, so that if it exists, some action is performed,
and if it doesn't some other action is performed?
Second, assume Image1 exists in a template and that
Image1 has some code that performs some action in the
Image1_Click event. Since the Image1_Click event is held
in the template's Microsof Office Word Objects
ThisDocument folder, it does not "attach" itself to a
document based on the template like other items in the
template (i.e., userforms, modules), so the Image1_Click
event in the document based on the template contains no
macro. How can this be transferred?
I should also probably mention that there are actually
two templates involved here. First there is the template
that contains Image1. Second there is a template that
collects the template that contains Image1 into a new
document.
Thank you for any help
Image1) inserted from the controls toolbox.
First, is it possible to test for the existence of
Image1, so that if it exists, some action is performed,
and if it doesn't some other action is performed?
Second, assume Image1 exists in a template and that
Image1 has some code that performs some action in the
Image1_Click event. Since the Image1_Click event is held
in the template's Microsof Office Word Objects
ThisDocument folder, it does not "attach" itself to a
document based on the template like other items in the
template (i.e., userforms, modules), so the Image1_Click
event in the document based on the template contains no
macro. How can this be transferred?
I should also probably mention that there are actually
two templates involved here. First there is the template
that contains Image1. Second there is a template that
collects the template that contains Image1 into a new
document.
Thank you for any help