Go to next page in word doc using VBA code
Solved/Closed
Related:
- Vba code for word
- Word apk for pc - Download - Word processors
- Battery reset code - Guide
- Samsung volume increase code - Guide
- Usa country code for whatsapp - Guide
- How to get whatsapp verification code online - Guide
6 responses
Here is the code todo that in VBA:-
Selection.GoTo What:=wdGoToPage, Which:=lNextPage
Where lNextPage is the page number
Selection.GoTo What:=wdGoToPage, Which:=lNextPage
Where lNextPage is the page number
mubashir aziz
Posts
190
Registration date
Sunday April 12, 2009
Status
Member
Last seen
February 16, 2010
166
May 29, 2009 at 01:44 AM
May 29, 2009 at 01:44 AM
You can use bookmarks for this purpose ....... this is the combination of bookmarks and hyper link .....
Here is the code in VBA to do that:-
Selection.GoTo What:=wdGoToPage, Which:=lNextPage
Where lNextPage = the page number you wanna go to
Selection.GoTo What:=wdGoToPage, Which:=lNextPage
Where lNextPage = the page number you wanna go to
mubashir aziz
Posts
190
Registration date
Sunday April 12, 2009
Status
Member
Last seen
February 16, 2010
166
May 29, 2009 at 02:52 AM
May 29, 2009 at 02:52 AM
If you just want to go on page number then Press F5 and in Goto Tab enter the page number and you will go to on that page ...
But if you have something else in your mind then please do let me know ......
There is some idea of Table of Contents as well that in your main page you can just press the Press Number with some heading and go to that page .... Another idea is Book Mar ... Suppose on Page 5 you have word Page5 now select that Word and go in Insert> Book mark > Give name Page5 (don't use space) and now press Add ....
Now go on first page wirte Go to page 5 and select the whole work "Go to page5" and now go in Insert>Hyperlink >Press Book mark on Right side > now you can see list of book mark which you have created just click page5 book mark .... now you will see word Go to page5" will be in blue color and you'll be able to see while taking your cursot on the text <Ctrl & Click to folow the link> now press Ctrl key from the key board and Click "Go to page5" and you will be on page 5 .....
But if you have something else in your mind then please do let me know ......
There is some idea of Table of Contents as well that in your main page you can just press the Press Number with some heading and go to that page .... Another idea is Book Mar ... Suppose on Page 5 you have word Page5 now select that Word and go in Insert> Book mark > Give name Page5 (don't use space) and now press Add ....
Now go on first page wirte Go to page 5 and select the whole work "Go to page5" and now go in Insert>Hyperlink >Press Book mark on Right side > now you can see list of book mark which you have created just click page5 book mark .... now you will see word Go to page5" will be in blue color and you'll be able to see while taking your cursot on the text <Ctrl & Click to folow the link> now press Ctrl key from the key board and Click "Go to page5" and you will be on page 5 .....
Didn't find the answer you are looking for?
Ask a question