Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2005

Tip: Looking for answers? Try searching our database.

Avoid deletion of text based on colour?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rVo - 29 Sep 2005 09:08 GMT
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
Anand.V.V.N - 29 Sep 2005 19:40 GMT
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

Signature

"Who will guard the guards?"

> 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
[quoted text clipped - 7 lines]
>
> Romain

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.