Solved

how to navigate among documents in msword2000

Posted on 2003-10-28
11
177 Views
Last Modified: 2010-05-18
hi

does anybody know how to navigate between documents in msword  by having a custom buttons in  msword 2000? we can do that by using
" control +f6 " keys . but  i want to have to between documents ..how do i do that ? any help wud be appreciated grtly ..thanks in advance

0
Comment
Question by:108a
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
11 Comments
 
LVL 5

Expert Comment

by:fantasy1001
ID: 9640373
Are you want to create the control button in VB or in Word2000. The code for navigation is

activewindow.Next.Activate   'this is in vba
0
 

Author Comment

by:108a
ID: 9644228
thanks  fantasy1001 for your posting ..  i want to create a button in MSword2003 to  navigate in between documents ...  thank you
0
 

Author Comment

by:108a
ID: 9644689
sorry it is  MSword2000 not  MSword2003
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:fantasy1001
ID: 9646804
Step:
1.   From word menu, Tools->Customine, then select Tab Commands
2.   Choose All Command from the Categories listbox
3.   Then choose the command "NextWindow", click on the command in the command listbox and drag it to the toolbar, any toolbar can.

Thanks & Cheers
Fantasy
0
 

Author Comment

by:108a
ID: 9652426
gr8...  thanks  Fantasy .. can i ask u small favour .. is there any way to identify  last document while  moving between bunch of documents ...
 thanks
0
 
LVL 5

Expert Comment

by:fantasy1001
ID: 9654437
Sorry, I am not sure how to do that yet.

However, you can activate the window with name
Documents("my.doc").Activate

Thanks,
~ fantasy ~

0
 

Author Comment

by:108a
ID: 9667157
thanks  fantasy

i think this  should  work for me.. cud u let  me know more about it .   what  does  my stands  for?

"Documents("my.doc").Activate"  

is it possible to pass an array (doument names) from vb application to msword macro.. so that i will get to know which is last document ...
thank u


0
 
LVL 5

Accepted Solution

by:
fantasy1001 earned 75 total points
ID: 9667543
my.doc is just the document's name you want to activate. You can passed integer index as well like this,

Documents(2).Activate. I am not sure how to activate the last document. May be you have to post another topic out there.

Regards,
~ fantasy ~
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

730 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