+ Reply to Thread
Results 1 to 6 of 6

Add combobox to word 2010

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010, Excel 2007
    Posts
    57

    Add combobox to word 2010

    I have a word docx This is a combobox on the document and not a userform


    I have a table |State |City| Address|

    Display Name = State

    Value = Address

  2. #2
    Registered User
    Join Date
    06-07-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010, Excel 2007
    Posts
    57

    Re: Add combobox to word 2010

    ADDMISSIONS FORM
    COMBOBOX -> ALL ADDRESSES IN TABLE
    LABEL -> PHONE NUMBER (That corresponds to the address)
    Above is the first 3 lines of the online form

    Table formant is |State|City|Address|Phone Number|

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,570

    Re: Add combobox to word 2010

    So, what's the question?
    Ben Van Johnson

  4. #4
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Add combobox to word 2010

    You do realize that your users will be unable to use Content Controls unless they have Word 2007 or later, don't you?

    For for populating the content control, try:
    Please Login or Register  to view this content.
    Do note that before anyone can do anything with the Value (which you can't even see in the content control), your document will have to be a docm file and the user will have to allow the macro to run.


    PS: It would have made more sense to post this as a continutation of your previous thread.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  5. #5
    Registered User
    Join Date
    06-07-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010, Excel 2007
    Posts
    57

    Re: Add combobox to word 2010

    My question is how do I populate the combobox with the city
    and the corresponding phone number in the label from
    the word table which holds the data

    I chose LA CITY (also school name) from combobox and populate the correspondin school phone number in the label

  6. #6
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Add combobox to word 2010

    Please re-read my last reply. There are some major usability issues you need to consider.

    Unless all the table data are output to the ContentControl's Text property, your users will not be able to see it. With additional code, of course, you can update a bookmarked range in the document with any of the ContentControl's Value properties.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1