Results 1 to 55 of 55

Use ComboBox value to reference table and dynamically output corresponding column data

Threaded View

  1. #32
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Use ComboBox value to reference table and dynamically output corresponding column data

    Hi numnuts

    The Code in the attached has been modified to pull values
    from the values in Sheet Data1.ColumnB
    The following changes are identified in the Code:
    In Sub Prep_Data()
    '##############################################<--------Code Changed
            .Range(.Cells(1, 1), .Cells(LR, LC)).SpecialCells(xlCellTypeVisible).Select
    '##############################################<--------Code Changed
    In Sub test()
    '##############################################<--------Code Added
                    For i = 1 To 1
                        ws1.Range("B1").Offset(RowOffset + 4, ColumnOffset) = Aarea(i).Offset(-1, -1)
                    Next i
    '##############################################<--------Code Added
    In Sub Finish_Up()
    '##############################################<--------Code Removed
                    
    '                    .Cells(cel.Row + 1, i + 1).Value = Split(.Cells(cel.Row + 2, i + 1), " ")(0) _
    '                            & Split(.Cells(cel.Row + 2, i + 1), ",")(1)
    
    '##############################################<--------Code Removed
    The attached jpg demonstrates my output for Job Title 8.
    Attached Images Attached Images
    Attached Files Attached Files

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