J
jlp1782
I have a macro written, but I have a small problem.
I need to go to a heading and select the section. The problem is not
the selecting (when there are section breaks, you hit F8 five times and
it selects that section), but it is getting to the next heading. I can
get to heading 1, by doing a
Selection.GoTo What:=wdGoToHeading, Which:=wdWordGoToFirst
However, when I do a wdWordGoToNext, it sends me to the section break
after the heading. How do I get to the next heading without erasing my
section breaks?!?!?!
Thank you!
Jessica
I need to go to a heading and select the section. The problem is not
the selecting (when there are section breaks, you hit F8 five times and
it selects that section), but it is getting to the next heading. I can
get to heading 1, by doing a
Selection.GoTo What:=wdGoToHeading, Which:=wdWordGoToFirst
However, when I do a wdWordGoToNext, it sends me to the section break
after the heading. How do I get to the next heading without erasing my
section breaks?!?!?!
Thank you!
Jessica