Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Read a current footer value
One more thing that might work for me ...
I would like to read what the current value of a footer is - i.e. I would like to do this: FooterVal = _ ActiveWorkbook.Sheets(1).PageSetup.RightFooter.val ue This does not work though - I get an "object required" error. Any other thoughts? Thanks - and this will be my last "footer" question!! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Read a current footer value
Remove the .Value. The RightFooter is not an object, just a string
property... FooterVal = _ ActiveWorkbook.Sheets(1).PageSetup.RightFooter Regards, Juan Pablo González "Andrew" wrote in message ... One more thing that might work for me ... I would like to read what the current value of a footer is - i.e. I would like to do this: FooterVal = _ ActiveWorkbook.Sheets(1).PageSetup.RightFooter.val ue This does not work though - I get an "object required" error. Any other thoughts? Thanks - and this will be my last "footer" question!! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Read a current footer value
There is no Value property, just remove it.
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Andrew" wrote in message ... One more thing that might work for me ... I would like to read what the current value of a footer is - i.e. I would like to do this: FooterVal = _ ActiveWorkbook.Sheets(1).PageSetup.RightFooter.val ue This does not work though - I get an "object required" error. Any other thoughts? Thanks - and this will be my last "footer" question!! |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Read a current footer value
Of course --- thank you guys!!
-----Original Message----- There is no Value property, just remove it. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Andrew" wrote in message ... One more thing that might work for me ... I would like to read what the current value of a footer is - i.e. I would like to do this: FooterVal = _ ActiveWorkbook.Sheets(1).PageSetup.RightFooter.val ue This does not work though - I get an "object required" error. Any other thoughts? Thanks - and this will be my last "footer" question!! . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Display page number in footer based upon pages in the current tab | Excel Discussion (Misc queries) | |||
How to display current page # in any cel , not header & footer | Excel Discussion (Misc queries) | |||
Insert current author's name in cell or footer in Excel?? | Setting up and Configuration of Excel | |||
Can a footer be protected or read-only? | Excel Discussion (Misc queries) | |||
Landscape Orientation when Footer set using mso-footer-data Disappear | Excel Programming |