+ Reply to Thread
Results 1 to 3 of 3

Display textbox value as currency, but store as number

  1. #1
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Display textbox value as currency, but store as number

    Hi all,

    Bumped into another issue...

    I got my textbox value displayed as currency
    Please Login or Register  to view this content.
    But it stores value in a cell as text with the currency symbol in front, therefore formulas aren't summing...
    Please Login or Register  to view this content.
    What am I doing wrong?

    Thanks!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Display textbox value as currency, but store as number

    Please Login or Register  to view this content.
    CCur converts text-currency to numeric-currency.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Re: Display textbox value as currency, but store as number

    I am running out of "thanks"!!!

    Alpha, good as always...

    Thanks!

+ 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. Userform Textbox to store value in excel the number losing decimal
    By Jaco Smit in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-26-2014, 07:42 AM
  2. [SOLVED] TextBox display format currency query
    By gogreenpower in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-25-2014, 11:52 PM
  3. Textbox to display a number or currency format
    By Josh_123456 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-21-2011, 11:00 PM
  4. Textbox to Display Currency
    By James12 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2009, 10:22 PM
  5. display an error message if the textbox doesn't store time
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-16-2009, 04:42 AM
  6. change a currency number display
    By wilywayne in forum Excel General
    Replies: 4
    Last Post: 08-03-2006, 10:00 AM
  7. TextBox to display as Currency or Number
    By Josh_123456 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2005, 03:05 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