Results 1 to 6 of 6

combobox.value not working correctly, need help!

Threaded View

brykarc22 combobox.value not working... 07-14-2011, 09:35 AM
tigeravatar Re: combobox.value not... 07-14-2011, 10:11 AM
royUK Re: combobox.value not... 07-14-2011, 10:33 AM
brykarc22 Re: combobox.value not... 07-14-2011, 10:37 AM
royUK Re: combobox.value not... 07-14-2011, 10:38 AM
brykarc22 Re: combobox.value not... 07-14-2011, 11:26 AM
  1. #1
    Registered User
    Join Date
    07-13-2011
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2003
    Posts
    13

    combobox.value not working correctly, need help!

    I want when the user picks a value from the combobox in the user form for it to find that value in the range the list comes from and then offset it 3 cells over and display a corresponding value. This doesnt seem to be working, when I put an actually value you in for Me.cbo1.Value, say "24" it works perfectly. But the Me.cbo1.Value doesnt seem to be working. Any ideas?

    Worksheets("Sheet1").Range("B1").Select
    Do Until Selection.Value = "Me.cbo1.Value" Or Selection.Value = ""
        If Selection.Value = "Me.cbo1.Value" Or Selection.Value = "" Then
        Exit Do
        
        Else
            Selection.Offset(1, 0).Select
        End If
    Loop
    
    Selection.Offset(0, 3).Select
    MsgBox  Selection.Value
    Last edited by brykarc22; 07-14-2011 at 11:50 AM.

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