+ Reply to Thread
Results 1 to 2 of 2

fill in contentcontrol in vba.

  1. #1
    Registered User
    Join Date
    04-28-2014
    Location
    8996934
    MS-Off Ver
    2010
    Posts
    1

    fill in contentcontrol in vba.

    Hi,

    I have a contentcontrol (combobox) in my word (2010) document. I want to fill this one with the help of vba code.

    Please Login or Register  to view this content.
    But this doesn't work. I have of course on my document a cbobox with the tag 'leveranciers'.
    someone can give me a push in the right direction?

    kind regards,
    Wesley

  2. #2
    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: fill in contentcontrol in vba.

    Try:
    Set c = ActiveDocument.SelectContentControlsByTag("leveranciers")(1)
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to color-fill blank cells, then once data is entered cell is no-fill
    By hatemail13 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2013, 07:57 PM
  2. Replies: 1
    Last Post: 09-07-2011, 05:57 PM
  3. Replies: 0
    Last Post: 04-06-2009, 04:07 PM
  4. problem in contentControl
    By J.wills in forum Word Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2009, 01:39 AM
  5. [SOLVED] Fill in form to type Item descrictions and costs and fill in funct
    By cradino in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-16-2006, 03:45 PM

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