Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-25-2022, 01:02 AM
Guessed's Avatar
Guessed Guessed is offline How to Display Text on Multiple dropdown content control result Windows 10 How to Display Text on Multiple dropdown content control result Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,158
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


You've already got code in your document that changes the content in the dropdowns. Please explain more clearly what it is that you want to happen.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #2  
Old 03-25-2022, 02:34 AM
philip.anthony philip.anthony is offline How to Display Text on Multiple dropdown content control result Windows 10 How to Display Text on Multiple dropdown content control result Office 2019
Novice
How to Display Text on Multiple dropdown content control result
 
Join Date: Mar 2022
Location: Malaysia
Posts: 6
philip.anthony is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
You've already got code in your document that changes the content in the dropdowns. Please explain more clearly what it is that you want to happen.
Hi Andrew,

Thanks for your reponse. The doc only with multiple dependent dd. What I what is upon selecting the multiple item for instant level 1 & level 3, I want some text to be displayed. in another plain text CC. My bad not the coding below is not good syntax. Its just an example to show what i want. No sure how to achieve this.

eg.

Select Case CCtrl.Tag
Case "Level 1" && Level 3
Set cc1 = CCtrl.Range.Document.SelectContentControlsByTag("L ogs")(1)
Select Case CCtrl.Range.Text
Case "Fire" && "100"
cc1.Range.Text = "whatever text you want for abc"
Case "Earth" && "600"
cc1.Range.Text = "whatever text you want for def"
Case "Air" && "1200"
cc1.Range.Text = "whatever text you want for ghi"
Case Else
cc1.Range.Text = vbNullString
End Select
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Display Text on Multiple dropdown content control result Content Control values NOT display name silverspr Word VBA 9 09-30-2020 07:53 AM
How to Display Text on Multiple dropdown content control result Auto populate a text field based on Content Control Dropdown List matthias92701 Word VBA 2 05-02-2019 03:54 PM
Content Control DropDown List gabster Word VBA 4 04-30-2019 09:53 PM
How to Display Text on Multiple dropdown content control result Dropdown content control and tables hrzagi Word 1 12-17-2017 09:38 PM
How to Display Text on Multiple dropdown content control result Content Control Dropdown Dependencies asteinroeder Word VBA 5 10-28-2015 03:56 PM

Other Forums: Access Forums

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