View Single Post
 
Old 10-22-2025, 01:36 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,489
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by gmaxey View Post
Paul, I tested with your code as well and was not getting proper results. Changing your


If .Characters.First.Information(wdVerticalPositionRe lativeToPage) < p Then To
If .Characters.First.Information(wdVerticalPositionRe lativeToPage) <> p Then

Resolved
Actually,
Code:
If .Characters.First.Information(wdVerticalPositionRelativeToPage) <> p Then
is what I originally posted. But I realised I didn't need that and that
Code:
If .Characters.First.Information(wdVerticalPositionRelativeToPage) > p
would be sufficient. I then edited out the wrong character.

Corrected.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote