Consulting

Results 1 to 4 of 4

Thread: Solved: Form Help

  1. #1
    VBAX Expert
    Joined
    Apr 2007
    Location
    Orlando, FL
    Posts
    751
    Location

    Solved: Form Help

    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.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    LblTax.caption = CDbl(TxtBoxPrice.Text)*.08

    add both what?

  3. #3
    VBAX Expert
    Joined
    Apr 2007
    Location
    Orlando, FL
    Posts
    751
    Location
    Add Both LblTax.Caption + TxtPrice.Value = LblTotal

  4. #4
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    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'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •