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
Engaging Article for Public Category: Article Rewriting, Article Writing, Blog Writing, Content Writing, Creative Writing, Editing, Ghostwriting, Research Budget: $2 - $15 USD
27-Apr-2026 16:03 GMT
Projet de Développement Web Personnalisé Category: Agile Development, API Development, French Translator, Full Stack Development, HTML, PHP, Web Development, Web Design Budget: $250 - $750 USD
27-Apr-2026 16:02 GMT
Case Study: Designing a Bond Portfolio for a Short-Term Investor Category: Capital Markets, Data Analysis, Excel, Financial Analysis, Financial Modeling, Financial Planning, Investment Management, Market Research, Risk Management, Wealth Management Budget: ₹600 - ₹1500 INR
Mastercam CNC Milling Program Needed Category: 3D Modelling, CAD / CAM, CNC Programming, G Code, Manufacturing Design, Mastercam, Mechanical Engineering, Solidworks Budget: ₹600 - ₹1500 INR
27-Apr-2026 16:01 GMT
Full Wedding Video Editing -- 2 Category: Final Cut Pro, Video Ads, Video Editing, Video Game Coaching, Video Hardware, Video Post Editing, Video Production, Video Services, Video Streaming, Video Tours Budget: ₹600 - ₹1500 INR
27-Apr-2026 15:59 GMT
Cartoon VR Avatar & Scene Category: 3D Animation, 3D Design, 3D Modelling, 3D Rendering, Maya, Unity, Virtual Reality Budget: $750 - $1500 USD