How to focus "Add-Ins" tab in Word 2007

A

ashish taralekar

Hi,
I have to focus/highlight "Add-Ins" tab in Word 2007 each time
when Word is opened.
So anybody can please give me the solution to do this kind of
functionality using COM Addin.


Thanks,
Ashish Taralekar.
 
G

Graham Mayor

I don't know about COM add-ins here, and I am sure there are other methods,
but but the following macro in the normal template will display the Add-ins
tab when starting Word 2007

Sub AutoExec()
SendKeys "%"
SendKeys "X {ESC}"
End Sub

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
A

ashish taralekar

Even simpler

Sub AutoExec()
SendKeys "%"
SendKeys "X "
End Sub

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web sitewww.gmayor.com
Word MVP web sitehttp://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>




- Show quoted text -

Hi Graham,
Thanks a lot.
Now it is working as per my requirement.
I will implement this in the COM add-ins and on the activate event so
that every time when word document gets activated the "Add-Ins" tab
will get focus and I can use the functionality provided in the "Add-
Ins".

Thanks once again.

Ashish Taralekar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top