+ Reply to Thread
Results 1 to 3 of 3

HELP Need macro to convert text to number without rounding.

  1. #1
    Registered User
    Join Date
    02-11-2014
    Location
    Central New York
    MS-Off Ver
    Excel 2010
    Posts
    18

    HELP Need macro to convert text to number without rounding.

    Hi all,

    This is what I have so far:

    Please Login or Register  to view this content.
    The .NumberFormat = "0.0" is newly added and doesn't work.

    What am I doing wrong?

    Thanks for any help!!

    Angelina

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: HELP Need macro to convert text to number without rounding.

    My VBA is weak, but if you add a decimal place to "general", it changes to "number", maybe thats the problem?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-11-2014
    Location
    Central New York
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: HELP Need macro to convert text to number without rounding.

    FD, Im not sure what you mean...

+ 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] VBA Macro to convert text to number
    By Pho6 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-13-2013, 02:04 AM
  2. Macro - Convert stored text to number
    By adste89 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-19-2013, 09:19 AM
  3. How do I convert currency to number/text without rounding?
    By BabyNEWBIE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-16-2012, 12:23 PM
  4. Macro to convert text to number
    By Wgmoneill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-20-2012, 02:12 PM
  5. Convert a number formatted as text to a number in a macro
    By MACRE0 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2005, 09:51 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