Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-19-2023, 01:46 PM
Peterson Peterson is offline how to activate a controlMso Windows 10 how to activate a controlMso Office 2019
Competent Performer
 
Join Date: Jan 2017
Posts: 143
Peterson is on a distinguished road
Default

Sorry, I don't know how to do that. I can see the XML file for custom ribbons in the UI file here:

C:\Users\<username>\AppData\Local\Microsoft\Office \Word.officeUI

...and I can manipulate the boolean value there, but I don't know how to do it with VBA except to open/modify the .officeUI file externally, but it's already loaded when Word is open, so changing it has no effect. My guess is, to change it while Word is open, you'd need to programmatically remove the button, not change its visibility attribute, then add it back when Word is closed. Someone on this board will know how to do that.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Activate Access shconner Office 1 09-15-2016 10:18 PM
how to activate a controlMso How do I activate the status bar? rbantjes Word 2 06-29-2016 04:04 PM
how to activate a controlMso Activate fields Formd Word VBA 2 07-31-2015 11:19 AM
how to activate a controlMso Activate ms office again helpp Office 1 07-21-2015 01:55 PM
how to activate a controlMso check box will not activate survivo01 Word 1 10-04-2012 03:34 PM

Other Forums: Access Forums

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


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