I have a TxtBoxPrice in a form I want to be able to grab that value Multiply it by .08 return that in a LblTax and then add both of them in LblTotal.
Can someone assist.
I have a TxtBoxPrice in a form I want to be able to grab that value Multiply it by .08 return that in a LblTax and then add both of them in LblTotal.
Can someone assist.
LblTax.caption = CDbl(TxtBoxPrice.Text)*.08
add both what?
Add Both LblTax.Caption + TxtPrice.Value = LblTotal
Looks like you're nearly there
[VBA]LblTotal.Caption = LblTax.Caption + TxtPrice.Value[/VBA]
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'