+ Reply to Thread
Results 1 to 5 of 5

Numbers are tranfered from userform as text

  1. #1
    Forum Contributor MariaPap's Avatar
    Join Date
    10-19-2013
    Location
    Chania-Crete-Greece
    MS-Off Ver
    Excel 2003-2010
    Posts
    319

    Numbers are tranfered from userform as text

    Hello

    I use this code to transfer from a userform with 15 textboxes to sheet11-starting in columnB,all the info that user type in these boxes.

    Please Login or Register  to view this content.
    In some of these textboxes(2,5,11,12,13) we type numbers.

    My problem is that in sheet 11 that data are trensfered, as text. Not as numbers!

    Does anyone has an idea how to fix this?

    Thanks in advance for any assistance!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Numbers are tranfered from userform as text

    Multiply your value or text value by 1

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    163

    Re: Numbers are tranfered from userform as text

    It will not work for textbox with text in it I think

    Maybe add
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor MariaPap's Avatar
    Join Date
    10-19-2013
    Location
    Chania-Crete-Greece
    MS-Off Ver
    Excel 2003-2010
    Posts
    319

    Re: Numbers are tranfered from userform as text

    Thank you for your reply.

    Please Login or Register  to view this content.
    This gives me an error.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor MariaPap's Avatar
    Join Date
    10-19-2013
    Location
    Chania-Crete-Greece
    MS-Off Ver
    Excel 2003-2010
    Posts
    319

    Re: Numbers are tranfered from userform as text

    Quote Originally Posted by Sbarro79 View Post
    It will not work for textbox with text in it I think

    Maybe add
    Please Login or Register  to view this content.
    Yes. That's works great.

    Thank you!

+ 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. [SOLVED] Transfer Text from one userform to another userform
    By Orestees in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-31-2012, 06:16 PM
  2. Replies: 11
    Last Post: 07-14-2008, 10:28 AM
  3. userform combobox treating numbers as text
    By apndas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2006, 11:39 PM
  4. [SOLVED] Display numbers in a userform txtfield as numbers with a comma
    By TimT in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2005, 07:00 PM
  5. Sum numbers in userform
    By helmekki in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-20-2005, 09: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