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
Automated HubSpot Invoice System Category: API Integration, CRM, Data Integration, Email Marketing, HTML, MySQL, PHP, Software Architecture Budget: $250 - $750 AUD
02-Apr-2026 03:53 GMT
Teen Respect Article with Stories Category: Article Writing, Book Writing, Content Writing, Copywriting, Editing, Fiction, Ghostwriting Budget: ₹750 - ₹1250 INR
02-Apr-2026 03:52 GMT
NDIS Business Brand Identity Design Category: Arts & Crafts, Branding, Creative Design, Graphic Design, Illustration, Logo Design Budget: $30 - $250 AUD
02-Apr-2026 03:49 GMT
Engaging Educational Cartoon for Grade 1 Category: 2D Animation, AI Animation, AI Content Creation, Animation, Caricature & Cartoons, Fiction, Screenwriting, Script Writing, Video Production, Voice Over Budget: $30 - $250 USD
02-Apr-2026 03:49 GMT
Modern Sleek Used Car Sales Website Category: CSS, Graphic Design, HTML, PHP, User Experience Research, Web Design, Web Development Budget: $250 - $750 USD
Residential Site & Permit Plans Category: 2D Drafting, Architectural Engineering, AutoCAD, Building Architecture, Building Design, Construction Management, PHP, Web Design Budget: $30 - $250 USD
02-Apr-2026 03:45 GMT
Bots making project Category: Android, API, Automation, Bot Development, IPhone, Mobile App Development, PHP, Web Development Budget: ₹37500 - ₹75000 INR
02-Apr-2026 03:43 GMT
Recover Lost Mobile App Access Category: Database Management, Database Programming, Flutter, IOS Development, IPad, IPhone, Mobile App Development, MongoDB Budget: ₹601 - ₹1000 INR