View Single Post
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
taminator
 
Posts: n/a
Default Maintaining style formatting in AutoText entries

I created a protected template for our users to fill out. I want them to able
to add a page, if needed, that includes all the text fields/table from the
original page. So I wrote a macro and added a toolbar button which, when
pressed; 1) unlocks the template, 2) places the cursor at the bottom of the
document, 3) creates a new page, 4) pastes the original contents of the
template which I copied into an AutoText entry, and then 5) locks the
template again so the user may tab through the text fields. My problem is
when the table is pasted in from AutoText it loses all the styles
(formatting)... Column headings are no longer centered or in bold, rows are
not the same height as they are in the original table on the first page of
the document, etc. Is there any way to retain style formatting in tables
pasted from AutoText entries?