Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Bejewell
 
Posts: n/a
Default Delete a page in a protected form

I am completing a Word form that was created by someone else. When I added
several lines of content into one of the form fields, a page break occurred
later in the document, creating an extra page in the form that I need to get
rid of. If I unprotect the document to delete the page break, I lose
everything I have already entered when I re-protect the form. Is there any
way to delete the extra page without unprotecting the document, or is there
some other way around this?

(I tried to post this question earlier but it looks as if it dod not go
through. I apologize in advance for any repeats.)
  #2   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman
 
Posts: n/a
Default Delete a page in a protected form

Bejewell wrote:
I am completing a Word form that was created by someone else. When I
added several lines of content into one of the form fields, a page
break occurred later in the document, creating an extra page in the
form that I need to get rid of. If I unprotect the document to
delete the page break, I lose everything I have already entered when
I re-protect the form. Is there any way to delete the extra page
without unprotecting the document, or is there some other way around
this?

(I tried to post this question earlier but it looks as if it dod not
go through. I apologize in advance for any repeats.)


This is based on the instructions for reprotecting the document without
losing the field contents, at
http://word.mvps.org/FAQs/MacrosVBA/...lfResetOff.htm. Since you didn't
create this form, though, you need slightly different instructions so you
won't have to create a macro in the document.

After you unprotect the form and delete the extra page break, press Alt+F11
to open the macro editor. There, press Ctrl+G to open the Immediate window
in the lower right area. Copy this line and paste it into the Immediate
window:

ActiveDocument.Protect Type:=wdAllowOnlyFormFields, noreset:=True

With the cursor at the end of the line, press Enter. Then you can close the
macro editor and save the form.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Header & Footer not on first page but on subsequent pages KM1 Microsoft Word Help 14 June 13th 05 12:36 AM
Page number difficulties Tjodrik Microsoft Word Help 3 May 9th 05 02:54 PM
preview odd number pages on the right and even on the left mikeo Page Layout 6 February 26th 05 12:26 AM
Insert pictures in a protected form? BurZurk Microsoft Word Help 3 February 22nd 05 01:58 AM
Document object in protected form Bruce Tables 2 December 6th 04 07:09 PM


All times are GMT +1. The time now is 11:22 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"