+ Reply to Thread
Results 1 to 2 of 2

combobox rowsource as code

  1. #1
    Registered User
    Join Date
    01-23-2004
    Posts
    8

    combobox rowsource as code

    How do I specify a rowsource in VBA

    Combobox1.rowsource = range (testrange)

    where testrange is a named range in excel. This is so I can dynamically fill in some comboboxes.

    Thanks,
    Jason

  2. #2
    Dave Peterson
    Guest

    Re: combobox rowsource as code

    I like:

    Combobox1.rowsource = range(testrange).address(external:=true)



    JasonSelf wrote:
    >
    > How do I specify a rowsource in VBA
    >
    > Combobox1.rowsource = range (testrange)
    >
    > where testrange is a named range in excel. This is so I can
    > dynamically fill in some comboboxes.
    >
    > Thanks,
    > Jason
    >
    > --
    > JasonSelf
    > ------------------------------------------------------------------------
    > JasonSelf's Profile: http://www.excelforum.com/member.php...fo&userid=5330
    > View this thread: http://www.excelforum.com/showthread...hreadid=467237


    --

    Dave Peterson

+ 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