+ Reply to Thread
Results 1 to 4 of 4

Entering $ sign into a calculation on a user form

  1. #1
    Registered User
    Join Date
    12-04-2015
    Location
    Wisconsin
    MS-Off Ver
    2013
    Posts
    19

    Entering $ sign into a calculation on a user form

    I am doing some math in a user form and I want the result to be expressed in dollars with decimal and dollar sign. So the filed ExportValueLabel I want expressed this way.

    Private Sub CommandButton4_Click()

    'Calculating the export value, net weight and Gross weight
    ExportValueLabel = CaseQuantityTextBox * CasePriceTextBox
    NetWeightLabel = CaseQuantityTextBox * 30
    GrossWeightLabel = CaseQuantityTextBox * 31.38

    End Sub

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Entering $ sign into a calculation on a user form

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-04-2015
    Location
    Wisconsin
    MS-Off Ver
    2013
    Posts
    19

    Re: Entering $ sign into a calculation on a user form

    Thanks shg, I knew it was simple, I am green but getting there!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Entering $ sign into a calculation on a user form

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 06-03-2015, 05:21 PM
  2. [SOLVED] Define where to start entering data from a user form
    By chloedee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-18-2015, 08:16 AM
  3. Entering image in to a worksheet from user form
    By Citrix1966 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2014, 07:37 AM
  4. How to write a VBA with User form for Entering the DATA to print a cheque
    By vajeednawab in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-10-2013, 04:37 PM
  5. Custom Design Data Entry User Form for Entering Customer Information
    By dizzle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2013, 01:37 PM
  6. Calling a user form initialize sub when entering the form to populate combobox...
    By regupnorth in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-02-2012, 07:24 AM
  7. Entering worksheet data via user form
    By Tellus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2008, 01:37 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1