Group: microsoft.public.word.vba.general
From: =?Utf-8?B?TGVuZSBGcmVkYm9yZw==?=
Date: Monday, February 25, 2008 5:35 PM
Subject: Re: Update table cell in footer !

Are you sure the footer that contains the table is a wdHeaderFooterPrimary?
For example, if you have set a different first page and the table is in the
footer of the first page, it is a wdHeaderFooterFirstPage.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Grenier" wrote:

> tried it both way and still does not work ...
>
> ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.Tables(1).Cell(2,2).Range.Text = "updated on february 25"
>
> Set rng = ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range
> With rng.Tables(1).Cell(1, 1).Range
> .Text = "updated on february 25"
> End With
>
> any guess ?
>

Safety Articles | Usenet Groups | Usenet News | Bluegrass