Add data to footer and header

B

BDC

Is it possible to add header and footer data in visio document. The data will
be passed from another program and the data shall only be added when the
document is printed.
 
J

junethesecond

it may be possible, if HeaderLeft
and related properties are used.
for ex.
ActiveDocument.HeaderLeft = "test"
 
K

karandeepmalik

The elaborated fomr of above solution

Application.ActiveDocument.HeaderLeft = ""
Application.ActiveDocument.HeaderCenter = ""
Application.ActiveDocument.HeaderRight = ""
Application.ActiveDocument.HeaderMargin(visInches)=0.25
Application.ActiveDocument.FooterLeft = "Hi"
Application.ActiveDocument.FooterCenter = "I"
Application.ActiveDocument.FooterRight = "am Karan"
 
Top