Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Guys,
Can you help? I have created this code but I have never created a loop before so I need some direction: I have 13 text boxes I need it to check for a value and subtract it from the 'percent' Thank you, Jennifer Private Sub GetSum1() Dim Ration As Variant Dim Percent As String With Worksheets("Database") Ration = txtRFID.Value 'Sheets("Rations").Activate Percent = WorksheetFunction. _ SumIf(Range("ProduceItemDatabase"), Ration, Range("BxsToMarket")) If Me.TextBox1 = "" Then Exit Sub Else Me.lblTotal = Percent - TextBox1.Value End If End With End Sub -- Thank you, Jennifer |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with creating a loop | Setting up and Configuration of Excel | |||
Need help creating Loop | Excel Discussion (Misc queries) | |||
Creating a loop | Excel Programming | |||
Creating a loop | Excel Programming | |||
Creating a For Loop | Excel Programming |