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

  • Thread starter Thread starter ashish taralekar
  • Start date Start date
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.
 
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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
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.
 
Back
Top