Consulting

Results 1 to 3 of 3

Thread: ComboBox

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    ComboBox

    Hi,

    I have a problem with a code because Im getting a runtime error (Activate method of Range class failed)

    [VBA]Option Explicit
    Private Sub ComboBox1_change()
    Dim c As Integer
    c = Application.WorksheetFunction.Match(ComboBox1.Value, Range("A4:BX4"), 0)
    Cells(4, c).Activate
    End Sub
    [/VBA]
    Attached Files Attached Files

Posting Permissions

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