+ Reply to Thread
Results 1 to 2 of 2

Values from userform being stored as text not numbers

  1. #1
    Registered User
    Join Date
    06-19-2018
    Location
    Beirut,Lebanon
    MS-Off Ver
    2017
    Posts
    25

    Values from userform being stored as text not numbers

    Hello everyone,

    I have a userform that works great and all the functions are perfect. However the only problem i have is that whenever i insert a number in the corresponding value boxes, they are being inserted in the sheet as text not as number. I have a formula cell at the top to calculate the sum of all the values, it is always returning 0 because the numbers are stored as text.

    Any help???

    Excel file is attached below.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Values from userform being stored as text not numbers

    To convert textbox values to numbers you can use something like
    Please Login or Register  to view this content.

+ 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. VBA to convert a range from numbers to numbers stored as text (Text to Columns)
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-06-2017, 05:50 PM
  2. Numbers stored as text after writing from userform
    By RachelJeffreys in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2016, 11:16 AM
  3. [SOLVED] Marco to convert numbers stored as text to numbers and dates stored as text to numbers
    By a2424 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-22-2014, 10:19 AM
  4. [SOLVED] Convert numbers stored as text to numbers for range of data that changes
    By excel2425 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2014, 01:57 PM
  5. [SOLVED] Convert all numbers stored as text or custom formatted to numbers &no decimals - 40 sheets
    By synses in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 01:46 AM
  6. [SOLVED] How do you apply the int() in VBA in order to convert numbers stored as text to numbers
    By djaurit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2012, 02:57 PM
  7. Convert numbers stored as text to numbers Excel 2000
    By Darlene in forum Excel General
    Replies: 6
    Last Post: 01-31-2006, 04:10 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