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
Modern Logo, Card & Flyer -- 2 Category: Adobe Illustrator, Photoshop, Business Card Design, Flyer Design, Graphic Design, Illustration, Logo Design Budget: $250 - $750 USD
19-Dec-2025 23:03 GMT
ASD Research Paper APA Proofread Category: Academic Research, Academic Writing, Editing, English Spelling, Proofreading, Research, Research Writing, Writing Budget: $30 - $250 USD
Spanish TikTok Product Promo Videos Category: After Effects, Animation, Content Creation, Digital Marketing, Motion Graphics, Script Writing, Social Media Management, Social Media Marketing, Video Editing, Video Production Budget: $30 - $250 USD
Simple Part Parametric Model Category: 3D CAD, 3D Design, 3D Modelling, 3D Printing, 3D Rendering, CAD / CAM, Mechanical Engineering, Solidworks Budget: $250 - $750 CAD
Pinterest Ads for Nail Store Category: Advertising, Content Creation, Digital Marketing, Facebook Marketing, Instagram Marketing, Internet Marketing, Marketing, Sales Budget: ₹12500 - ₹37500 INR
19-Dec-2025 22:52 GMT
Building Modification Drawings Category: 2D Drafting, Architectural Engineering, Architecture, AutoCAD, Building Architecture, Building Design, CAD / CAM, Drafting Budget: $15 - $25 CAD
Abstract Painting Over Digital Artwork Category: Abstract, Art Consulting, Art Installation, Digital Art, Graphic Design, Illustration, Photoshop, Visual Arts Budget: $250 - $750 USD