View Single Post
 
Old 10-06-2025, 02:06 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

In that case, you could probably use something like:
Code:
      If Len(.Cell(r, 1).Range.Text) = 2 then Exit For
      p = Split(.Cell(r, 1).Range.Text, vbCr)(0) + 6: StrKey = ""
      Set Rng = DocRef.GoTo(What:=wdGoToPage, Which:=wdGoToAbsolute, Count:=p).GoTo(What:=wdGoToBookmark, Name:="\page")
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote