excel vba - excel2007 vba: Return to same (Custom UI ribbon) tab after opening another workbook -


i adding ustom ui ribbons tabs, groups buttons. works great. among makros have adden functions open excel files. problem when return original excel workbook, first tab activated, instead of 1 last used (for ex custom tab).

is there knowing how can make excel remembering tab last using?

for genuine excel tabs works, custom tab doesn't.

thank comments.

oz

the application class excel object model provides 2 events:

starting office 2010 can use activatetab method of iribbonui interface. see ribbon extensibility in office 2010: tab activation , auto-scaling more information.

so, can implement required functionality on own.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -