+ Reply to Thread
Results 1 to 3 of 3

VBA Chart Blank Values in Cell Range

  1. #1
    Registered User
    Join Date
    09-06-2017
    Location
    portland, oregon
    MS-Off Ver
    2016
    Posts
    33

    VBA Chart Blank Values in Cell Range

    I have a chart that is generated with a macro for a range of cells. At times some blank cells will exist within that range. I'm facing a problem when generating my chart with an empty cell value, the chart will start plotting at the first non empty cell, causing the category axis to not be reporting correct. How can I make my chart show a blank value on my chart using VBA. I would prefer not to use a formula on my cell range.

    Here is my code:

    Please Login or Register  to view this content.
    Last edited by jdcortez; 06-30-2018 at 02:20 AM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: VBA Chart Blank Values in Cell Range

    What happens if you change this line...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    09-06-2017
    Location
    portland, oregon
    MS-Off Ver
    2016
    Posts
    33

    Re: VBA Chart Blank Values in Cell Range

    Unfortunately that hasn't helped

+ 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. Graphing: Show zero values but omit values that are blank in the chart
    By hanashiim in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 02-07-2018, 12:40 AM
  2. Replies: 8
    Last Post: 03-31-2015, 01:06 PM
  3. Creating a range for a chart based on cell date values
    By tinkerbelle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2015, 05:01 AM
  4. [SOLVED] Values from a range showing on another sheet if cell is not blank
    By gokica in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-21-2014, 09:58 AM
  5. pick next blank cell in range to add some values.
    By cdafonseca in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-26-2013, 03:15 PM
  6. removing blank values (blank or "0") from a dynamic chart
    By rob78 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-26-2011, 04:19 PM
  7. Use a function in a chart range so it doesn't include a cell if blank?
    By hokeyplyr48 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2008, 12:32 PM

Tags for this Thread

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