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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top