Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2016, 04:36 AM
rdross51 rdross51 is offline Adding a New Ribbon Tab using XML Script Windows 7 32bit Adding a New Ribbon Tab using XML Script Office 2010 32bit
Advanced Beginner
Adding a New Ribbon Tab using XML Script
 
Join Date: Feb 2015
Location: Abu Dhabi
Posts: 45
rdross51 is on a distinguished road
Default Adding a New Ribbon Tab using XML Script


I'm building a new tab for our template ribbon with specific commands for the template. I notice that when the ribbon is displayed, my new tab is at the far right (last tab). Is there any way I can get it show up between the File and Home tabs and have it be the default tab?
Reply With Quote
  #2  
Old 06-12-2016, 04:52 AM
gmayor's Avatar
gmayor gmayor is offline Adding a New Ribbon Tab using XML Script Windows 10 Adding a New Ribbon Tab using XML Script Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

When creating the XML script use the insertBeforeMso="TabHome" parameter when creating the tab e.g. something like:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon>
<tabs>
<tab id="CustomTabMyTab" insertBeforeMso="TabHome" label="MyLabel">
<group id="InvGroup" label="My Template Name">

see http://gregmaxey.com/word_tip_pages/...bbon_main.html
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bolding in script ksigcajun Word VBA 10 02-23-2015 08:29 AM
Help with VBA script nsyrax Word VBA 1 01-18-2014 03:38 AM
How to import the customized ribbon to Word without overwriting the existing Ribbon? SharonSh Word VBA 0 09-26-2013 11:47 PM
Excel 2010 Ribbon look like 2007's Ribbon esotop Excel 0 03-22-2011 07:05 PM
[ask] about VB Script + Ms. Project anak_baru Project 2 03-10-2009 01:42 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:06 PM.


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