View Single Post
 
Old 10-08-2020, 04:22 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
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

Great, did you find how to link both the dropdown and plain text CC to the same xml node so that the value displays in the plain text CC and reflects the value of the dropdown CC entry? This avoids the need for vba to connect the two. You will still need vba for the dependent list of Snr Ops but it does simplify things.

Getting the CC by its Title or Tag is
Code:
ActiveDocument.SelectContentControlsByTitle("TLName")(1).Range.Text = strDetails

'You can also do it by Tag
ActiveDocument.SelectContentControlsByTag("TLName")(1).Range.Text = strDetails
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote