View Single Post
 
Old 03-27-2015, 04:53 AM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,138
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

You don't need to toggle the design mode

Code:
Dim aCC As ContentControl
    For Each aCC In ActiveDocument.ContentControls
        Select Case aCC.Tag
            Case "SecteurActivite", "Pays"
                aCC.SetPlaceholderText , , "Choose an item."
            Case "NomClient", "Site", "DureeProjet", _
                 "AnneeRealisation", "Description", "LibelleProjet", _
                 "SousTitre", "Benefices"
                aCC.SetPlaceholderText , , "Click here to input text"
            Case Else
                aCC.SetPlaceholderText , , "no reason to display this one"
        End Select
    Next aCC
will do the job.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote