Solved

Navigating a word document

Posted on 2014-04-10
2
295 Views
Last Modified: 2014-04-10
I have a Word document which is used as a quote template. It is 6 pages and page 3 is blank. This page is used to insert tables containing qty, par number, description, pricing and so on. I was wondering is it possible to navigate to this page or make this page the selection without using a bookmark?
0
Comment
Question by:Basicfarmer
2 Comments
 
LVL 50

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39992248
Hi,

pls try
'wdGoToPage = 1
'wdGoToNext = 2
oword.Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:="3"

Open in new window

Regards
0
 

Author Closing Comment

by:Basicfarmer
ID: 39992436
That worked great. below is the .Net version.
oWord.Selection.GoTo(Word.WdGoToItem.wdGoToPage, Name:="3")
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question