PDA

View Full Version : Solved: Copy RightHeader onto sheet



Djblois
03-14-2007, 12:17 PM
I already know how to copy the contents of a cell into a header but now I want to be able to copy the header into a cell. Here is the code I tested:

Range("D7").Value = ActiveSheet.RightHeader.Value

mdmackillop
03-14-2007, 12:28 PM
Even simpler.
Cells(1, 1) = ActiveSheet.PageSetup.RightHeader

Djblois
03-14-2007, 01:19 PM
Thank you mdmackillop