Avoid deletion of text based on colour?

R

rVo

I'm currently working with a template that contains a lot of text in a which
should not be deleteted by the user. This text is inside protected sections
and has a different colour thant the user-text. Due to numerous problems
with these protected sections (e.g. spellchecking, macro's manipulating the
document leaving it unprotected sometimes, ...) I was wondering if there is
another way to protect text against deletion (e.g. check the colour before
deleting it and if wrong colour then don't delete it.

Any help is more then appreciated,

Romain
 
A

Anand.V.V.N

Hi,

I am not sure how to implement this but there is a font.color property that
cna be used to determine the color of the font, check if there is a macro or
something the is called when you delete the text, and see if you can alter
it, by checking the text color.

Hope you found this helpful

Anand
 
Top