#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default 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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to save table attributes of (null) into (null). Luca Brasi Excel Discussion (Misc queries) 2 February 4th 09 04:30 PM
COUNTIF says Null = Blank but Blank < Null Epinn Excel Worksheet Functions 4 October 25th 06 08:03 PM
Null, "null", vbNull, vbNullString, vbEmpty [email protected] Excel Programming 2 July 25th 06 01:28 PM
cell value based on null/not null in another cell spence Excel Worksheet Functions 1 February 18th 06 11:49 PM
When value is NOT Null sbigelow Excel Worksheet Functions 4 October 7th 05 10:12 AM


All times are GMT +1. The time now is 04:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"