how to navigate among documents in msword2000

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

108aAsked:
Who is Participating?
 
fantasy1001Commented:
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
 
fantasy1001Commented:
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
 
108aAuthor Commented:
thanks  fantasy1001 for your posting ..  i want to create a button in MSword2003 to  navigate in between documents ...  thank you
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
108aAuthor Commented:
sorry it is  MSword2000 not  MSword2003
0
 
fantasy1001Commented:
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
 
108aAuthor Commented:
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
 
fantasy1001Commented:
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
 
108aAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.