+ Reply to Thread
Results 1 to 2 of 2

convert decimals to only 2 places

  1. #1
    Forum Contributor TechRetard's Avatar
    Join Date
    06-14-2009
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    202

    convert decimals to only 2 places

    Good morning all- need help with a little macro

    what i would like the macro to say is
    1. set range to this (selected range)
    2. check each cell in range
    a. if cell is a decimal, it can only have max 2 #s after the decimal (hundreths), else move on

    masks/formats won't work -- the actual number needs to be changed (i.e. x.xxxxx HAS to be x.xx)

    Thanks in advance!!
    Last edited by TechRetard; 07-14-2011 at 10:17 AM.
    TechRetard.ToString();

    There are always multiple ways to do something, when it doubt, drink a beer.

    I do not care if you rep or not but please mark post as Solved if there is resolution so I stop going back and checking if anything else is needed.

  2. #2
    Forum Contributor TechRetard's Avatar
    Join Date
    06-14-2009
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: convert decimals to only 2 places

    combined some random code i found...best way?

    Please Login or Register  to view this content.
    Last edited by TechRetard; 07-14-2011 at 10:01 AM. Reason: doesn't work

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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