Add a dynamic date to a header or footer

  • Thread starter Thread starter Lakshmana
  • Start date Start date
L

Lakshmana

Hi Any body

While handling a Excel spresd sheet Through VB I need to
input the headings and dates Dynamically called from a
function or cell in to page header or Page footer. How
this customisation of Page heder is possible.

Thank you
Lakshmana
 
ActiveSheet.PageSetup.LeftHeader = "ABCD"

also CenterHeader, RightHeader, Leftfooter, CenterFooter, RightFooter
 
Thank You Tom Ogilvy
But This is giving an error 438: Object doesnt support this property or
method
Regards
Lakshmana
 
ActiveSheet.PageSetup.LeftHeader = "ABCD"
works fine in Excel.

Apparently you are not implementing it correctly within the context of your
code.
 

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

Back
Top