Expand Minimize

Document.FooterRight Property (Visio)

Gets or sets the text string that appears in the right portion of a document's footer. Read/write.

Version Added: Visio 2002

expression .FooterRight

expression A variable that represents a Document object.

Return Value


You can also set this value in the Right box under Footer in the Header and Footer dialog box (click the File tab, click Print, click Print Preview, and then in the Preview group, click Header & Footer).

Both the string returned by FooterRight and the string to which you set FooterRight can contain escape codes that represent data. These escape codes can be concatenated with other text. For a list of valid escape codes you can use with the FooterRight property, see the FooterLeft property topic.

The following macro shows how to place a string containing the current date into the right portion of a document's footer. After you run this macro, if the date is May 4, 2007, the right portion of the footer contains "The date is Thursday, May 4, 2007".

Sub FooterRight_Example()  
    Dim strFooter as String 
    'Build the footer string.  
    strFooter = "The date is " & "&D"  
    'Set the footer of the current document.  
    ThisDocument.FooterRight = strFooter  
End Sub 

© 2015 Microsoft