VBA - using a transparent image to prevent editing

S

Steve

I've been trying to insert an image or label, set its
backstyle to transparent, and use it to prevent editing of
the underlying objects. The reason for this is that I've
inherited a Word doc with frames and text boxes on it. The
frames basically have form like text inserted in them and
the text boxes get multiple styles of text and graphics
inserted.

Its a one page document and when I tried to insert a
continuous section break and use form fields, but when I
turn on protection the text boxes also get protected (even
though they are not anchored to the protected part of the
document). I assumed this is a peculiarity of text boxes.

The problem I have with the label or image is that when I
exit VBA design mode the Active X objects become opaque
and isn't transparent, even though it is transparent in VB
Design Mode.

Am I missing a step in using transparent labels and images?

Steve
 
J

Jonathan West

Hi Steve,

You're missing a step in thinking that you can achieve security this way.
Use Insert File to insert the protected document into an unprotected one,
and all protection is removed, even if you provided a password.

Sorry...

--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
 
S

Steve

Thanks Jonathan,
but I'm not trying to make the document 'secure', just
preventing casual direct editing. It's a hybrid document
designed by committee with lots going on.

I am really just focused on my confusion over the behavior
of the image and label active x controls when inserted
into a Word document. In design mode they look ok (I made
their backstyles transparent) but they becom opaque when
out of design mode.

Steve
 
C

Cindy Meister -WordMVP-

Hi Steve,
The problem I have with the label or image is that when I
exit VBA design mode the Active X objects become opaque
and isn't transparent, even though it is transparent in VB
Design Mode.
Have you tried changing the BackStyle in the controls'
properties to "transparent"? The default is opaque...

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan
24 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

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