+ Reply to Thread
Results 1 to 2 of 2

Set Chart FormatAxis Decimal Places according to value in a cell

  1. #1
    Registered User
    Join Date
    02-27-2014
    Location
    Taipei
    MS-Off Ver
    Excel 2003
    Posts
    24

    Set Chart FormatAxis Decimal Places according to value in a cell

    how do I set the decimal places of the Format Axis by a value in Cell P1, "0.000"


    something like this?
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Set Chart FormatAxis Decimal Places according to value in a cell

    Hi mrprofit,

    On Excel 2003 the syntax (tested and working) is:

    Please Login or Register  to view this content.
    You probably need 'Text' instead of 'Value':
    Please Login or Register  to view this content.
    I prefer on one line like you have it, but I used 'With' for PrettyPrint purposes.

    Lewis
    Last edited by LJMetzger; 04-11-2014 at 04:04 PM. Reason: Added second example

+ 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. Adusting decimal places based on greatest number of places in a series
    By anelson87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2022, 01:05 PM
  2. Replies: 2
    Last Post: 12-29-2013, 08:37 PM
  3. How to set decimal places in cell?
    By proepert in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2010, 07:52 PM
  4. Set decimal places by cell value
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-23-2009, 09:53 AM
  5. Cell.Value to 2 decimal places
    By jonn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-03-2007, 04:33 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