Results 1 to 3 of 3

UserFrom Match, Find and Edit data : ComboBox1 Change range

Threaded View

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,081

    Post UserFrom Match, Find and Edit data : ComboBox1 Change range

    hello
    in my userform according to combobox1.value, find data and edit them

    but when i m changing
    For Each C In Sheet4.Range("C61:C500").Cells
    For Each C In Sheet4.Range("D61:C500").Cells
    D61:D500 has number value

    Private Sub ComboBox1_Change()
    For Each C In Sheet4.Range("C61:C500").Cells
    If C.Value <> "" Then
    If ComboBox1.Value = C.Value Then
    TextBox1.Value = C.Offset(0, 0).Value
    TextBox2.Value = C.Offset(0, -2).Value
    TextBox3.Value = C.Offset(0, 1).Value
    TextBox4.Value = C.Offset(0, 2).Value
    TextBox5.Value = C.Offset(0, 3).Value
    TextBox6.Value = C.Offset(0, 4).Value
    
    'MsgBox "Now you can edit."
    Else
    End If
    Else
    Exit Sub
    End If
    Next
    End Sub
    Attached Files Attached Files
    Last edited by HaroonSid; 04-08-2014 at 05:58 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] TextBox Value Change According Combobox1 Solved by : jaslake
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-02-2014, 10:00 AM
  2. [SOLVED] Lookup/Search/Find/Match then edit in userform
    By Cuba64 in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 12-17-2013, 06:49 PM
  3. Range.Find function fails to find a match but For loop confirms that match exists
    By 6StringJazzer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2013, 03:35 PM
  4. combobox2 change --> combobox1 change
    By mabulco in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-12-2013, 10:38 AM
  5. [SOLVED] Help needed to edit macros due to change in data range
    By geniechua in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-04-2012, 10:57 PM

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