Consulting

Results 1 to 3 of 3

Thread: Comboboxes

  1. #1
    VBAX Regular
    Joined
    Nov 2006
    Posts
    7
    Location

    Comboboxes

    Hi

    I'm very new to vba so forgive me....

    I have a combobox populated off a worksheets..... range("Range1"). The range consist of 14 collumns. Can i use the boundcollumn property to send the data in these collumns to a different sheet or is boundcollumn restricted to 1 collumn only....

    is there a different manner to send this data upon selecting the required criteria to the sheet?

    PLZ Help

  2. #2
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,296
    Location
    You can use the After Update event of the Combo Properties VBA to transfer data. This takes the first and second columns of the selected row and puts it in the cell where the cursor is.
    ActiveCell = ComboBox1.Column(0)
    ActiveCell.Offset(0, 1) = ComboBox1.Column(1).
    You would need from Column(0) to column(13) to move 14 the 14 columns.

  3. #3
    VBAX Regular
    Joined
    Nov 2006
    Posts
    7
    Location
    thanx

    works like wonders

Posting Permissions

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