Results 1 to 20 of 20

Filling a list box with a dynamic named range

Threaded View

  1. #1
    Registered User
    Join Date
    01-09-2011
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2003
    Posts
    51

    Filling a list box with a dynamic named range

    Hello guys!

    I'm having problems with this: I need to fill a list box (from the controls toolbox) when a command button is clicked with a named range from another sheet, this range is dynamic. For some reason, none of the codes I've tried are working! Is there any short straighforward piece of VB code I can use to do this??

    My dynamic named range is defined by
    OFFSET(Sheet2!$B$2;0;0;COUNTA(Sheet2!$B:$B))
    And I intend to copy the VB code into my sheet under

    Private Sub CommandButton2_Click()
    
    End Sub
    That's all, thank you!
    Last edited by Alicita; 02-01-2011 at 04:10 PM.

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