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
Butuh Konten Sosial Media Kilat Category: Article Writing, Content Creation, Content Writing, Copywriting, Data Entry, Digital Marketing, Social Media Management, Social Media Marketing Budget: $30 - $250 USD
14-Jan-2026 23:04 GMT
Kampanye Instagram Pedagang Kecil Category: Content Creation, Content Strategy, Graphic Design, Instagram Marketing, Photography, Social Media Copy, Social Media Management, Visual Design Budget: $15 - $25 USD
14-Jan-2026 23:03 GMT
Plataforma Ambiental y Branding Integral Category: CSS, Data Visualization, Graphic Design, HTML, Logo Design, PHP, User Interface / IA, Video Editing, Web Development Budget: $25 - $50 USD
14-Jan-2026 23:03 GMT
Two-Story Structure Revit Model Category: Architecture, Building Architecture, Building Design, Civil Engineering, Construction Management, Design Thinking, Structural Engineering, UML Design Budget: $30 - $250 USD
14-Jan-2026 23:03 GMT
Aplikasi Mobile Blog WordPress Category: Android, App Design, Flutter, Hindi Translator, React Native, SEO, WordPress Budget: $8 - $15 USD
Desain Konten Facebook Menarik Category: Adobe Illustrator, Photoshop, Content Creation, Graphic Design, Logo Design, Social Media Management, Social Media Marketing Budget: $15 - $25 USD