I am assuming that you want to use VBA to do this.
I would insert a { DOCVARIABLE varname } field in the footer where you want
the information to appear and then use
Dim i as Long
With ActiveDocument
.Variables("varname").Value = "Your line of text"
For i = 1 to .Sections.Count
.Sections(i).Footers(wdHeaderFooterFirstPage).Range.Fields.Update
.Sections(i).Footers(wdHeaderFooterPrimary).Range.Fields.Update
Next i
End With

Signature
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
> hi
> i need to add a new line (with some text) to the end of the footer in
[quoted text clipped - 3 lines]
> i tried some things and nothing worked
> how can i do this ?
4tis - 13 Oct 2006 20:16 GMT
thanks
and how can i add this { DOCVARIABLE varname } to the footer via VBA
code and find if it exist ?
i dont have any clew with this variable but it seems that this is
exactly what i am looking for
thanks
4tis - 13 Oct 2006 20:16 GMT
thanks
and how can i add this { DOCVARIABLE varname } to the footer via VBA
code and find if it exist ?
i dont have any clew with this variable but it seems that this is
exactly what i am looking for
thanks
Doug Robbins - Word MVP - 14 Oct 2006 08:02 GMT
Insert the field in the template manually from the Insert>Field menu or by
pressing Ctrl+F9 to insert a pair of field delimiters and typing the
DOCVARIABLE varname inside them and then using Alt+F9 to toggle off the
display of the field codes. Then when the macro is run, the information
that is stored in the variable by the code in the macro will be displayed

Signature
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
> thanks
> and how can i add this { DOCVARIABLE varname } to the footer via VBA
> code and find if it exist ?
> i dont have any clew with this variable but it seems that this is
> exactly what i am looking for
> thanks
4tis - 14 Oct 2006 23:39 GMT
thanks
it was realy helping
this is exactly what i was needed
i just did not knew about fields in word