Charles
Thu Sep 22 21:41:40 CDT 2005
Also, you do not have access to any of the headers and footers, even in
unprotected sections, when part of the document is protected for forms.
--
Charles Kenyon
Word New User FAQ & Web Directory:
http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
http://addbalance.com/usersguide
See also the MVP FAQ:
http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"Jezebel" <warcrimes@whitehouse.gov> wrote in message
news:%23hHo$10vFHA.2064@TK2MSFTNGP09.phx.gbl...
> Only in the protected section. The rest is fine. Designing the document
> around that constraint is a hell of a lot easier than running macros on
> other people's computers.
>
>
> "jeanmac" <jeanmac@discussions.microsoft.com> wrote in message
> news:9E95BAA1-4A22-4AC3-997B-5E04E3577144@microsoft.com...
>> As far as I am aware,when part of a document is protected, you can't do
>> some
>> things like formatting bullets and numbers, restart numbering, continue
>> numbering and other things. It would be great if you know of a way of
>> that
>> not happening.
>>
>> "Jezebel" wrote:
>>
>>> What reduced functionality? You need protect only the *sections*
>>> containing
>>> the fields: the other sections can be unprotected and fully functional.
>>>
>>>
>>>
>>>
>>> "jeanmac" <jeanmac@discussions.microsoft.com> wrote in message
>>> news:03A54D15-5A38-45B9-B007-429A15D5ED22@microsoft.com...
>>> > Trouble is if I do that the document is protected and has reduced
>>> > functionality which is not what the users want. The reason why I used
>>> > ASK
>>> > fields is because the bookmark is inserted twice to update information
>>> > in
>>> > the
>>> > footer and on the back page of the document. Hence the reason for
>>> > wanting
>>> > to
>>> > know if I can do anything with the bookmarks when the document first
>>> > opens.
>>> >
>>> > "Jezebel" wrote:
>>> >
>>> >> Why not use ordinary form fields? Then you wouldn't need the macro or
>>> >> the
>>> >> updating at all... Break the document into sections, and protect only
>>> >> the
>>> >> sections containing the fields.
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> "jeanmac" <jeanmac@discussions.microsoft.com> wrote in message
>>> >> news:E81D52A8-0651-43EE-B8CC-81E1554057CF@microsoft.com...
>>> >> >I have designed a report template using ASK fields (the report
>>> >> >cannot be
>>> >> > protected and tables are not practical). A macro placed in the
>>> >> > ThisDocument
>>> >> > module prompts the ASK fields and it all works beautifully except
>>> >> > that
>>> >> > whilst
>>> >> > the prompts for the ASK fields are on screen you can see the
>>> >> > document
>>> >> > behind
>>> >> > and where the bookmark for the ASK fields are it displays "Error
>>> >> > Bookmark
>>> >> > not
>>> >> > Defined" - however when they are all filled in the error disappears
>>> >> > and
>>> >> > the
>>> >> > data that was typed in the boxes appears in the correct fields, but
>>> >> > I
>>> >> > can't
>>> >> > have users seeing the error messages it would confuse them.
>>> >> >
>>> >> > I have tried all sorts of ways but cannot find how to hide the
>>> >> > window
>>> >> > whilst
>>> >> > the fields are updating. I've tried Application.ScreenUpdating =
>>> >> > False,
>>> >> > but
>>> >> > it didn't work. Anyone have an idea?
>>> >> >
>>> >> > The code is:
>>> >> >
>>> >> > Sub AutoNew()
>>> >> >
>>> >> > Dim oStory As Range
>>> >> >
>>> >> > For Each oStory In ActiveDocument.StoryRanges
>>> >> > oStory.Fields.Update
>>> >> > If oStory.StoryType <> wdMainTextStory Then
>>> >> > While Not (oStory.NextStoryRange Is Nothing)
>>> >> > Set oStory = oStory.NextStoryRange
>>> >> > oStory.Fields.Update
>>> >> > Wend
>>> >> > End If
>>> >> > Next oStory
>>> >> > Set oStory = Nothing
>>> >> >
>>> >> > Selection.GoTo What:=wdGoToBookmark, Name:="StartDoc"
>>> >> >
>>> >> > End Sub
>>> >> >
>>> >> > Thanks for looking at this.
>>> >> > Jeanmac
>>> >>
>>> >>
>>> >>
>>>
>>>
>>>
>
>