+ Reply to Thread
Results 1 to 2 of 2

Formating a number in a MessageBox

  1. #1
    Registered User
    Join Date
    07-21-2010
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    44

    Formating a number in a MessageBox

    I am using the the built in Timer for benchmarking. I show the time lapse result in a message box but I only want the number to go to 2 decimal places like the example.

    Please Login or Register  to view this content.
    Danny

    It should show "Time taken is 2.39 seconds"
    Last edited by TryToExcel; 08-12-2010 at 12:53 PM.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: Formating a number in a MessageBox

    Use Format:
    Please Login or Register  to view this content.
    Everyone who confuses correlation and causation ends up dead.

+ 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