Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-03-2023, 11:51 AM
KodosLives KodosLives is offline Add Tab Group Only If Owning Template is Enabled? Windows 10 Add Tab Group Only If Owning Template is Enabled? Office 2016
Novice
Add Tab Group Only If Owning Template is Enabled?
 
Join Date: Jul 2022
Location: San Antonio, Texas
Posts: 8
KodosLives is on a distinguished road
Default Add Tab Group Only If Owning Template is Enabled?

For my Mac Word, I have a DOTM template file that has a specific group of related macros.

I see in preferences Ribbons and Add-ins that a tab group can be added but it looks like for Word in general, not conditionally.



I would like a tab group for those macros to display in the open document but only if that template is currently loaded. Otherwise, there's no point in displaying them.
Reply With Quote
  #2  
Old 02-05-2023, 12:26 AM
Guessed's Avatar
Guessed Guessed is offline Add Tab Group Only If Owning Template is Enabled? Windows 10 Add Tab Group Only If Owning Template is Enabled? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I don't know how it works on a Mac but in Windows, the GUI allows you to edit the ribbon but those changes are saved globally so they are always on.

Windows users make use of third party tools to create ribbon customisations in specific templates. This is what allows you to add a Ribbon tab in a template so it only appears if that template is active (as the attached template or if you loaded it as an addin).
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 02-05-2023, 08:22 AM
KodosLives KodosLives is offline Add Tab Group Only If Owning Template is Enabled? Windows 10 Add Tab Group Only If Owning Template is Enabled? Office 2016
Novice
Add Tab Group Only If Owning Template is Enabled?
 
Join Date: Jul 2022
Location: San Antonio, Texas
Posts: 8
KodosLives is on a distinguished road
Default

That's the way it works on the Mac, too. I wish Microsoft would change that.

Which third party tools?
Reply With Quote
  #4  
Old 02-05-2023, 10:26 AM
Charles Kenyon Charles Kenyon is offline Add Tab Group Only If Owning Template is Enabled? Windows 11 Add Tab Group Only If Owning Template is Enabled? Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

See:
While you can do this on a Mac, it is a lot easier in Windows. This is because there does not seem to be a good ribbon editor for the Mac. If you have access to a Windows version, you can design Ribbon tabs using Windows that will work on the Mac. These get stored in the templates with the macros.

Consider putting your macros in custom QAT modifications in the template rather than a custom ribbon tab. This is far easier, at least in Windows. Modifying the Quick Access Toolbar (QAT) in Microsoft Word

Last edited by Charles Kenyon; 02-05-2023 at 01:12 PM.
Reply With Quote
  #5  
Old 02-06-2023, 01:25 AM
KodosLives KodosLives is offline Add Tab Group Only If Owning Template is Enabled? Windows 10 Add Tab Group Only If Owning Template is Enabled? Office 2016
Novice
Add Tab Group Only If Owning Template is Enabled?
 
Join Date: Jul 2022
Location: San Antonio, Texas
Posts: 8
KodosLives is on a distinguished road
Default

Excellent! Thanks.
Reply With Quote
Reply

Tags
tab, tab group, template

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Group records - multiple IF stmts - Text After Group baum12 Mail Merge 1 05-25-2015 12:57 AM
Group Table Rows/Column (like Excel Group) eoinymc Word 1 03-11-2014 04:51 AM
Word 2010 Macro Enabled Template with Content Controls keen1598 Word VBA 7 01-29-2014 03:17 PM
Add Tab Group Only If Owning Template is Enabled? Macro-enabled Template ReviTULize Word VBA 4 02-01-2013 01:46 PM
Template: group dropdown selections mfoe33 Word 0 10-15-2012 02:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft