View Single Post
 
Old 06-05-2023, 03:24 PM
Guessed's Avatar
Guessed Guessed is online now Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,166
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I would try fiddling with the iTop number. If you add some extra to it then it will make the frame sit lower on the page and ideally start at the same location as your selected paragraph. For example, try adding a fixed number to it and try different values until you consistently get the frame appearing against the paragraph you like.

iTop = aRng.Information(wdVerticalPositionRelativeToPage) + 40
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote