Closed Thread
Results 1 to 2 of 2

Adding figures in userform textbox formatted as Euro

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    West Cornwall, UK
    MS-Off Ver
    2010
    Posts
    55

    Adding figures in userform textbox formatted as Euro

    Using VBA I can I add the values of 2 userform textboxes if they are formatted with the Pound (£) sign, BUT, I can not get it to add 2 textboxes if they are formatted with the Euro (€) sign.
    txtGB1 = Format(txtGB1, "£ #,##0.00")
    txtGB2 = Format(txtB2, "£ #,##0.00")

    txtFrench1 = Format(txtFrench1, "€ #,##0.00")
    txtFrench2 = Format(txtFrench2, "€ #,##0.00")

    SO, this works

    Please Login or Register  to view this content.
    )

    But this does not,

    Please Login or Register  to view this content.
    If I remove the Euro (€) sign, it adds correctly.

    Thanks for looking.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Adding figures in userform textbox formatted as Euro

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.


    http://www.excelforum.com/excel-prog...d-as-euro.html
    Thread Closed.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calculating/adding userform textbox values based on combobox selection and display to cell
    By SpreadsheetGirl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2015, 08:57 AM
  2. Replies: 23
    Last Post: 07-12-2014, 07:09 PM
  3. [SOLVED] Userform textbox value result formatted for date
    By Sc0tt1e in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-29-2013, 03:28 PM
  4. [SOLVED] Copying txt from 1 textbox to another OR if value formatted a certain way delete the txt
    By saintsphan in forum Access Tables & Databases
    Replies: 2
    Last Post: 04-18-2012, 05:12 PM
  5. Userform Textbox updating a another userform textbox (im stuck!!)
    By wapwap in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-31-2011, 02:56 PM
  6. adding consecutive number to userform textbox
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-10-2008, 09:04 AM
  7. [SOLVED] Euro symbol not appearing when formatted to do so
    By liz in forum Excel General
    Replies: 7
    Last Post: 09-12-2005, 06:05 AM

Tags for this Thread

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