loading Word combo box without VBA

  • loading Word combo box without VBA


    i can create and load a combo box selection with VBA, but can i do this through the Word menu options...?


    ???


    thank you.

  • Re: loading Word combo box without VBA


    the combo box from the toolbox on the vb toolbar...


    and i'm dropping this on the document itself (or maybe inside a cell in a table)...


    ...


    thank you...

  • Re: loading Word combo box without VBA


    I'm not sure what you want to do,
    but I think you have to use the drop down form field for this.


    VIEW - TOOLBARS - FORMS - drop down field


    Then you can add the fields you want to select.
    Hope this is what you seek.


    Gollem

  • Re: loading Word combo box without VBA


    ok...


    thank you....


    i have added, and filled the properties, but i don't get a dropdown list for this object...


    ???


    ?and this is a different object than the vb toolbar control toolbox combobox...???


    thanks....!

  • Re: loading Word combo box without VBA


    ok...


    i now know that the forms is different from the vb toolbox combobox...


    ?can i use the forms dropdown and still type in the document...?


    thank you.

  • Re: loading Word combo box without VBA


    Hi, to use the drop down field you have to exit the design mode and lock the form controls:


    Add items to a drop-down list form field
    Open the template that contains the form you want to change.


    Remove protection from the form template by clicking Protect Form on the Forms toolbar.
    Double-click the drop-down form field you want to change.
    In the Drop-down item box, type the item.
    Click Add.
    Click OK.
    Protect the form by clicking Protect Form on the Forms toolbar.
    Note The first item in the Items in drop-down list box is the one that appears by default in the drop-down list. To move the most frequently selected item to the first position, use the Move arrow buttons.


    => After protecting, you cannot type anymore I've noticed, so I don't know if this is a solution for your problem. You can add textboxes to solve that problem, but I don't know if it's enough.


    Gollem

  • Re: loading Word combo box without VBA


    thank you.


    yes, that's my current problem, if i use forms the only way to get the drop downs to work is to protect and then i can't do any typing...


    if i use the vb toolbox combobox, then i seemingly can't fill the dropdown without code (i'm ok with the additem, but i don't know how to fill from a "range" or an Access table...)


    ???


    thank you.

  • Re: loading Word combo box without VBA


    I'll take a look at it to populate with access table or from an excel range.
    Acces => with ADO and Excel range with an excel object.


    I'll post back to you

  • Re: loading Word combo box without VBA


    Ok, here's an example of filling a combobox with an excel range:



    Copy the list.xls file in the correct dir and execute the word-doc(press the button).


    Gollem

  • Re: loading Word combo box without VBA


    Here's the access example:



    Copy the access db in the correct dir(see next post).


    Gollem

  • Re: loading Word combo box without VBA


    Ask a Microsoft Word Question



    Hi,
    I already have a microsoft word 2007 template made up as an editable document. I want to have one section contain three separate combo boxes that will be populated with varying items from a drp down list. These items will be locked so only one from each box can be chosen. The problem I have is that I can't figure out how to do this and yet still allow the rest of the template to be unprotected and therefore editable by the user.



    I am not experienced in VBA, and I am hoping that another solution might be available



    Thank you in advance. I hope you can find a solution for me
    Regards



    Terry

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!