M
Mike Clayton
Hi,
I'm having a bit of a problem with geting correct values for
Range.Information(wdVerticalPositionRelativeToPage) in section headers.
If I try this on a range object in the Headers and Footers of the first
section in a document it returns a valid result (e.g. "49.1"). It also works
if I try it in subsequent sections if they are linked to the previous section
all the way back to section 1. However when I try it on a range in a section
header which doesn't use Link to Previous
myRange.Information(wdVerticalPositionRelativeToPage) simply returns -1.
Does anyone know any way to work around this? It's causing me no end of
grief...
-- Mike
I'm having a bit of a problem with geting correct values for
Range.Information(wdVerticalPositionRelativeToPage) in section headers.
If I try this on a range object in the Headers and Footers of the first
section in a document it returns a valid result (e.g. "49.1"). It also works
if I try it in subsequent sections if they are linked to the previous section
all the way back to section 1. However when I try it on a range in a section
header which doesn't use Link to Previous
myRange.Information(wdVerticalPositionRelativeToPage) simply returns -1.
Does anyone know any way to work around this? It's causing me no end of
grief...
-- Mike