Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi ,
I'm creating an excel worksheet in VB.NET While setting the print properties , I was able to print the date on the left footer ..PageSetup.LeftFooter = "Printed on " & Today.ToShortDateString I want to insert a pagenumber in custom footer for Excel . At the right footer , it should print like " Page 1 of 4" The macro is &[Page] of &[Pages] in excel. I am not able to find the property for page and pages If somebody could help me , I'd appreciate it Thanks in Advance, ramesh |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
.LeftFooter = "Printed on &D" ' Date
.CenterFooter = "" .RightFooter = "page &P of &N" ' page n of m Don't be afraid to use the macro recorder. -- Regards, Tom Ogilvy wrote in message oups.com... Hi , I'm creating an excel worksheet in VB.NET While setting the print properties , I was able to print the date on the left footer .PageSetup.LeftFooter = "Printed on " & Today.ToShortDateString I want to insert a pagenumber in custom footer for Excel . At the right footer , it should print like " Page 1 of 4" The macro is &[Page] of &[Pages] in excel. I am not able to find the property for page and pages If somebody could help me , I'd appreciate it Thanks in Advance, ramesh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
pagenumber etc. | Excel Programming | |||
Excel generation and PageSetup.CenterHeader | Excel Programming | |||
pagenumber of active cell (vba) | Excel Programming | |||
pagenumber | Excel Programming | |||
Insert Date value in PageSetup ?? | Excel Programming |