ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Null Value (https://www.excelbanter.com/excel-programming/397532-null-value.html)

ArthurJ

Null Value
 
I have programmatically created a chart using the series collection object.
The series is initially populated with, let's say, 30 data points.
But now I want to reset the chart to temporarily show only the first data
point.
I think I need the value NA (or null).
How do I assign the "NA" or "null" value with VBA?

Thanks,
Art


Dave Peterson

Null Value
 
Maybe you could clear the cell:
somerangevariable.clearcontents
or plop a formula in it:
somerangevariable.formula = "=na()"


ArthurJ wrote:

I have programmatically created a chart using the series collection object.
The series is initially populated with, let's say, 30 data points.
But now I want to reset the chart to temporarily show only the first data
point.
I think I need the value NA (or null).
How do I assign the "NA" or "null" value with VBA?

Thanks,
Art


--

Dave Peterson


All times are GMT +1. The time now is 07:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com