Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2018, 07:50 AM
slaycock slaycock is offline RibbonUI: getVisible not working for Custom Tabs Windows 7 64bit RibbonUI: getVisible not working for Custom Tabs Office 2016
Expert
RibbonUI: getVisible not working for Custom Tabs
 
Join Date: Sep 2013
Posts: 255
slaycock is on a distinguished road
Default

Sorry for replying to my own thread,



The solution was in the variable type passed back to returnedVal. Shortly after posting I rmembered that I'd had some previous trouble before with returned values to the RibbonUI that was solved by casting the returned valriable to the variant Type

I changed all assignments to returnedVal to cVar(<expression>) (Cast the boolean to a variant).

Everything worked first time.

Now I have the RibbonX book and I've scoured VBA pages in relation to ribbon stuff and I haven't come across this requirement. So having wasted a day on this you can Imagine I'm pretty cheesed off.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting Custom Ribbons/Tabs koolwaters Word 1 03-21-2014 03:50 PM
Custom Tabs and Groups KHenry Word 0 10-08-2013 09:37 AM
Custom Task sending not working d7jab Outlook 0 10-16-2012 08:51 AM
New/Custom Tabs in Excel 2010 judicial85 Excel 1 09-27-2011 07:59 AM
Creating custom tabs for Word & Excel 2003 on a Windows 7 OS Skarab Office 1 07-05-2010 09:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:29 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