Help with a Table in the footer

K

KennyF

I have a number of old documents that have a table in the first page footer
section. The table is used to track changes to the document and has two rows
and a number of columns. A new column is added for each revision. How do I
reference the table in the footer section?
 
J

Jean-Guy Marcil

KennyF was telling us:
KennyF nous racontait que :
I have a number of old documents that have a table in the first page
footer section. The table is used to track changes to the document
and has two rows and a number of columns. A new column is added for
each revision. How do I reference the table in the footer section?

Assuming a regular footer (Not odd/even or first page footer):

Dim FooterTable As Table

Set FooterTable = ActiveDocument.Sections(1) _
.Footers(wdHeaderFooterPrimary).Range.Tables(1)

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
K

KennyF

Thanks,
That's what I needed.
Ken


Jean-Guy Marcil said:
KennyF was telling us:
KennyF nous racontait que :


Assuming a regular footer (Not odd/even or first page footer):

Dim FooterTable As Table

Set FooterTable = ActiveDocument.Sections(1) _
.Footers(wdHeaderFooterPrimary).Range.Tables(1)

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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