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
Isle Server Discord Bot Category: API Development, Backend Development, Bot Development, Game Development, JavaScript, PHP, Python, Software Architecture Budget: $30 - $250 AUD
04-Dec-2025 05:04 GMT
Social Media & Email Support Admin Category: Customer Service, Email Handling, Facebook Marketing, Instagram Marketing, Internet Marketing, Social Media Management, Social Media Marketing, Twitter Budget: $250 - $750 USD
Material Estimation & Quantity Surveyor for Construction Project Category: AutoCAD, Bluebeam, Building Architecture, Building Information Modeling, Construction Engineering, Construction Management, Estimation, Excel, Project Management Budget: ₹6000 - ₹15000 INR
04-Dec-2025 04:59 GMT
Bakery Website Design Category: Content Writing, CSS, Graphic Design, HTML, JavaScript, Photography, SEO, Web Design, Web Development, WordPress Budget: $30 - $250 USD
04-Dec-2025 04:57 GMT
Polystyrene Sculptures Artist Category: 3D Art, 3D Design, 3D Modelling, 3D Printing, Art Consulting, Creative Design, Graphic Design, Illustration, Logo Design, Sculpture Budget: $750 - $1500 SGD
04-Dec-2025 04:57 GMT
Dual Website Build & Checkout Category: CMS, HTML, Lead Generation, PHP, SEO, Web Development, Web Design, WooCommerce, WordPress, Zoho Budget: $30 - $250 AUD