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
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