View Single Post
 
Old 01-06-2025, 08:00 AM
stusic stusic is offline Windows 10 Office 2021
Novice
 
Join Date: Jan 2025
Posts: 4
stusic is on a distinguished road
Default

One question I ran into, but didn't want to resurrect a dead thread: What if I don't have any bookmarks in my doc? I get an error when I get to this:

Code:
Set Rng = Rng.GoTo(What:=wdGoToBookmark, Name:="\HeadingLeve3")
As a guess, I tried this (but didn't work either, surprised /s)
Code:
Set Rng = Rng.GoTo(What:=wdGoHeading, Name:="\HeadingLeve3")
Reply With Quote