Im stuck with some code in VBA. Every time i manually change the value in textBox20 it resets when i hit the SaveQuote button. The subroutine ComboBox20_Change is being triggered programatically elsewhere in the project that is doing it and i cant figure out how to stop it.
Private Sub ComboBox20_Change() If Not isUserChange Then Exit Sub ' Only proceed if the user triggered the change
Dim ws As Worksheet Dim lookupValue As String Dim result As String Dim qValue As String Dim installValue As Double Dim Rng As Range Dim cell As Range Dim found As Boolean
Me.TextBox2000.Value = 1 Me.TextBox3000.Value = 1
Set ws = ThisWorkbook.Sheets("GHMatrix") lookupValue = Trim(Me.ComboBox20.Value)
If lookupValue = "" Then Me.TextBox200.Value = "" Me.TextBox20.Value = "" Me.TextBox300.Value = "" Me.ComboBox30.Value = "" Me.TextBox30.Value = "" Exit Sub End If
found = False For Each cell In ws.Range("H1:H" & ws.Cells(Rows.Count, "H").End(xlUp).row) If Trim(cell.Value) = lookupValue Then Set Rng = cell found = True Exit For End If Next cell
If found Then result = ws.Cells(Rng.row, 1).Value qValue = ws.Cells(Rng.row, 21).Value installValue = ws.Cells(Rng.row, 22).Value
Me.TextBox200.Value = result Me.TextBox20.Value = qValue
SMM Freelancer Category: Branding, Canva, Content Creation, Content Strategy, Digital Marketing, Facebook Marketing, Instagram, Internet Marketing, Social Media Marketing, Twitter Budget: ₹12500 - ₹37500 INR
03-Jun-2026 04:03 GMT
Lead-Generation Website Design for Small Business Category: Graphic Design, HTML, Lead Generation, SEO, UI / User Interface, User Interface / IA, Web Design, Web Development, WordPress Budget: $30 - $250 USD
Yogesh kumar Category: Data Analysis, Data Cleansing, Data Entry, Data Management, Data Processing, Excel, Google Sheets, PDF Budget: ₹750 - ₹1250 INR
03-Jun-2026 03:54 GMT
Pilates Sundowner Highlight Video Category: After Effects, Cinematography, Color Grading, Filmmaking, Video Editing, Video Post Editing, Video Production, Video Services Budget: ₹600 - ₹1500 INR
Spanish Vlog Video Editor Needed Category: Adobe Premiere Pro, After Effects, DaVinci Resolve, Final Cut Pro, Video Editing, Video Production, Video Services, Videography Budget: $10 - $30 USD
03-Jun-2026 03:48 GMT
Freelance Video Editor Needed Category: Adobe Premiere Pro, After Effects, CapCut, Final Cut Pro, Motion Graphics, Video Editing, Video Production, Video Services Budget: ₹12500 - ₹37500 INR