(Msg. 1) Posted: Sun Sep 07, 2008 9:06 pm
Post subject: Text form fields lose data after bookmark delete Archived from groups: microsoft>public>word>mail (more info?)
Hi there
I have developed a template which has text form fields, sections and
bookmarks. Additional functionality includes a toolbar from which the user
can delete some sections and bookmarks. Here is a sample pf the code;
The relevant bookmark is successfully deleted but all the text form fields
lose the data previously entered. This is not the desired effect. Any advice?
(Msg. 2) Posted: Mon Sep 08, 2008 4:51 pm
Post subject: Re: Text form fields lose data after bookmark delete [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Hi Russ,
You need to invoke NoReset when you re-protect the form:
"russb" <russb DeleteThis @discussions.microsoft.com> wrote in message news:2A685EC2-C231-439D-8DAD-374A4AA99F2E@microsoft.com...
> Hi there
>
> I have developed a template which has text form fields, sections and
> bookmarks. Additional functionality includes a toolbar from which the user
> can delete some sections and bookmarks. Here is a sample pf the code;
>
> Me.Unprotect "xxx"
> Me.Bookmarks("manager").Range.Select
> Me.Bookmarks("SectionFacility").Range.Delete
> Me.Protect wdAllowOnlyFormFields, , "xxx"
>
> The relevant bookmark is successfully deleted but all the text form fields
> lose the data previously entered. This is not the desired effect. Any advice?
>
> Thanks in advance
> Russ
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum