Repeat the same values (civility) multiple times

Solved
!Juju74 Posted messages 3 Status Member -  
!Juju74 Posted messages 3 Status Member -
Hello everyone,

I need your help please:
I would like to automate the "Salutation" fields (Mr./Ms.) in my letter, meaning that when the user selects Mr. in the address, it should automatically reflect at the beginning and the end of the letter (if possible, without having to select the field for it to update automatically and without macros).

Thank you for your invaluable help.

2 answers

  1. C-Claire Posted messages 4562 Registration date   Status Member Last intervention   2 250
     
    Hello! Juju74,

    "Developer tab but not ActiveX the other"
    There are 3 dropdown lists in the [Developer] tab. In the "Legacy Tools", there is also the tool "Drop-down List (Form Control)" just above the ActiveX Controls list.
    And then, next to the "Legacy Tools", there are the new controls including the "Content Control Drop-down List". Their name appears in a tooltip when you hover over the icon. I think it's the one you used, because for the other one you would need to lock your letter for the list to work.

    So, I'm going to give you the method that seems the most appropriate and simplest with this type of field:
    - select your drop-down list, then go to the [Developer] tab | "Properties"
    - check "Use a style to format the content"
    - click on the [New style] button and give a name at the top of the dialog box that appears: Title for example. Don’t change anything else.

    - in your letter, click where you want to insert the title and insert a field code { STYLEREF Title } either by creating it directly in the document with [Ctrl] [F9] for the braces, or by going to the [Insert] tab | "Quick Part" | "Field" | "Refstyle". You can copy/paste this code to the different relevant places.

    After selecting the title in the list, the fields will be updated by selecting the entire document ([Ctrl] [A]) and pressing [F9] or simply by doing a print preview or even at print time.

    Reminder: [Ctrl] [F9] to open the { } (do not use those from the keyboard), [Alt] [F9] to show/hide codes, [F9] to refresh the fields.

    C-Claire
    1
    1. !Juju74 Posted messages 3 Status Member
       
      Thank you!!! It works great.

      Have a nice day, C-Claire
      0
  2. C-Claire Posted messages 4562 Registration date   Status Member Last intervention   2 250
     
    Hello! Juju74,

    There is no need for a macro for that, and there are even 3 or 4 methods to achieve it.
    But can you specify which version of Word you are using and what type of "field" you are talking about: when you press [Alt] [F9], what code is there, and if you are using a control from the [Developer] tab, which one is it?

    --
    C-Claire
    0
    1. !Juju74 Posted messages 3 Status Member
       
      Good evening C-Claire,

      First of all, thank you for your response ;-)
      I am using Word 2010, I inserted a dropdown menu for the address to have just "Madam" or "Sir" (developer tab but not activeX the other one). I hope I have answered your question and that you can give me the various solutions.

      Have a good evening.
      0