Section Breaks -

J

John A

I am using Office 2000 on Win2000.

I have set up a template with User forms, depending on answers in the form
different Auto Text entries are inserted,. This is all working fine, however
I am having trouble with the last page. Throughout the program I am using
section breaks, the Final entry (Landscape table ) that is inserted by
AutoText has a continuos break at the bottom but when it is inserted by
AutoText it changes to "section break next page", and I get my problem a
blank page at the end of the document. To test the problem I have opened the
document with the landscape table (this is the document the Auto Text entry
is based on) selected all and pasted to a blank document and it copies fine,
continuos break and all. I also do not get a blank page at the bottom. I
have read http://www.mvps.org/word/FAQs/Formatting/WorkWithSections.htm ,
but this did not answer my problem.


This is the code that I use to insert the problem Auto Text entry.

Selection.EndKey Unit:=wdStory
Selection.TypeParagraph

ThisDocument.AttachedTemplate.AutoTextEntries("EmploymentKitCheckList").Inse
rt _
Where:=Selection.Range, RichText:=True


I hope that someone can help me, it is not the end of the work the last page
being blank, but as all the rest is working fine I would like to solve this
problem.


Thank you in advance.

John A
 
S

Suzanne S. Barnhill

If you don't get an answer here, try asking in the
microsoft.public.word.vba.userforms or m.p.w.vba.general NG.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top