Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Mon, 13 Mar 2006 01:23:33 +0530,    group: microsoft.public.word.vba.customization        back       


vba code to turn off highlight on task pane   
If word document template protected, editable regions are always
highlighted.  I need to disable so that template opens without
highlighted areas or [ ] brackets around editable text; can only do
'manually' when taskpane selected and highlight editable region tick
box deselected.


-- 
christine
Posted from - http://www.officehelp.in
date: Mon, 13 Mar 2006 01:23:33 +0530   author:   christine

Re: vba code to turn off highlight on task pane   
Turn-off the formfield shading using the button on the formfields toolbar 
before protecting and saving the template.

To prevent the display of bookmarks, select Options from the Tools menu and 
on the view tab, uncheck the Bookmarks item.  This also needs to be done 
before protecting and saving the template.

The following code in a macro will turn off the display of bookmarks:

ActiveWindow.View.ShowBookmarks = False


-- 
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"christine"  wrote in message 
news:christine.24kom6@NoSpamPleaze.com...
>
> If word document template protected, editable regions are always
> highlighted.  I need to disable so that template opens without
> highlighted areas or [ ] brackets around editable text; can only do
> 'manually' when taskpane selected and highlight editable region tick
> box deselected.
>
>
> -- 
> christine
> Posted from - http://www.officehelp.in
>
date: Sun, 12 Mar 2006 21:50:59 +0100   author:   Doug Robbins - Word MVP

Re: vba code to turn off highlight on task pane   
Very many thanks for your reply, I did try this method first with no
effect on the template.

I tried the following code, which works if I OPEN the template from the
network but I cant get the code to run on a new document based on a
template I store on network, via 'word' 'new' and select template, and
I cant seem to edit headers/footers - any ideas where I am going
wrong.
dim myrange as window
set myrange=activedocument.activewindow
myrange.view.showbookmarks=false
myrange.view.shadeeditableranges=false.
I'm trying to protect selected text in word 2003 which allows you to
select text to allow edit and users.
Many Thanks 
Chrissie - worn out with trying to protect paragraphs only.


-- 
christine
Posted from - http://www.officehelp.in
date: Thu, 16 Mar 2006 01:28:53 +0530   author:   christine

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us