문제

I am working with visual basic now for the first time in word 2003. I want to know if there is a way to jump to another pagenumber.

I have a checkbox and if that checkbox is true it has to redirect me to let say pagenumber 5. I know how to find out if a checkbox is true, but i can't figure out the jump to pagenumber 5 part.

Can somebody please help me with this one?

Thanks for your effort!

도움이 되었습니까?

해결책

Use this snippet of code:

Selection.GoTo wdGoToPage, wdGoToAbsolute, 5 'your page number here
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top