Group: microsoft.public.word.vba.general
From: "Doug Robbins - Word MVP"
Date: Monday, February 25, 2008 4:00 PM
Subject: Re: Update table cell in footer !

A cell does not have a .Text attribute. It is the .Text attribute for the
.Range of the cell that you must use.

ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.Tables(1).Cell(2,2).Range.Text
= "updated on february 25"

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Grenier" wrote in message
news:38A4CBF5-9FBE-45E4-888C-DBFFAC32BEB7@microsoft.com...
> looking for the right syntax to access a cell in a footer ?
>
> here's what I've tried with no success...
> Set Rng = ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range
> with rng.table(1).cell(2,2)
> .text = "updated on february 25"
> end with
>
> Merci !