+ Reply to Thread
Results 1 to 3 of 3

Number formatting in Message Box

  1. #1
    Registered User
    Join Date
    12-05-2015
    Location
    Sana'a, Yemen
    MS-Off Ver
    2010
    Posts
    1

    Number formatting in Message Box

    I have a message box that should view a number from a cell, the number format in the cell is accounting, on the message box it is not the same. For exmaple: my cell value is: 1,354,295.29 and it appears on the message box as: 1354295.293458.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Number formatting in Message Box

    Try using the Text property of the cell.
    If posting code please use code tags, see here.

  3. #3
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Number formatting in Message Box

    Please Login or Register  to view this content.
    by this method you can choose whatever numeric format you want
    Barriers are there for those who don't want to dream

+ 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. Formatting a string in a message box?
    By RustyNail in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-18-2015, 06:25 PM
  2. Formatting a Message Box
    By M4RSH in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2013, 09:29 AM
  3. how to make only message appear number of time before message does not show
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-06-2013, 07:30 PM
  4. Adding formatting to a message box
    By dextras in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2009, 03:02 AM
  5. Pop-up message box macro after conditional formatting?
    By p3te2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2008, 07:39 AM
  6. Formatting a variable used in a message
    By akronpow in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2007, 05:53 PM
  7. Formatting Message Boxes
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2007, 05:48 AM

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