Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 03-16-2022, 10:21 PM
gmayor's Avatar
gmayor gmayor is offline Conditional Formatting dependent on multiple drop down lists in Word Windows 10 Conditional Formatting dependent on multiple drop down lists in Word Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,142
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

As a starting point, document level events like
Code:
Private Sub Document_ContentControlOnExit(ByVal CCtrl As ContentControl, Cancel As Boolean)
should be in the ThisDocument module. They will not work from a standard module. I have not tested your code beyond establishing that it doesn't compile because you have an extra 'End With' line and a missing 'Next' line.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Closed Thread



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting dependent on multiple drop down lists in Word Multiple dependent dropdown lists in table with add new row option jeweldarby Word VBA 6 05-21-2022 04:37 PM
Excel Dependent Drop Down Lists john_red Excel Programming 2 02-15-2021 06:51 AM
Conditional Formatting dependent on multiple drop down lists in Word Conditional Formatting to activate Multiple Choices After Chosen From The Drop Down List UJ18 Word VBA 4 01-01-2020 01:59 AM
Dependent drop down lists bobbych Word 1 02-08-2013 04:38 PM
Dependent drop down lists in Word 2007 benbenasc Word VBA 0 08-24-2011 06:34 AM

Other Forums: Access Forums

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