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.
 
Back
Top