Link to home
Start Free TrialLog in
Avatar of Krishna M
Krishna MFlag for India

asked on

VBA code to select a specific tab

Hi,
 
How to activate specific tab in word using vba.
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Do you mean  a Tab character in the text, or a Tab stop in a paragraph? In either case, how would you specify it - in words that can be turned into code?
Also, it isn't clear what you mean by 'activate' . Do you mean to select the tab character in question?
If I am not wrong, he means select a tab on the ribbon but who knows.
Duh.

Steve (Dr Tribos)  worked on this a few years back. I'll see if I can find the question.
Here it is. I haven't tried it myself, and have no experience  with programming for the Ribbon.
https://www.experts-exchange.com/questions/28919361/Word-VBA-Programatically-select-a-Tab-in-Ribbon-menu.html
Avatar of Krishna M

ASKER

I need to select the tab on the ribbon
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.