Hi
I am trying to make a plot using VBA.
I am storing the values I want to plot in arrays, but I also want to have some gaps in the plot.
I found this really helpfull site: http://peltiertech.com/WordPress/vba...-excel-charts/.
But since I am storing the values in arrays, another problem occurs.
I want to insert "" where the gaps should be, and want to have numeric values elsewhere.
How should I declare the arrays?
If I use
"Dim Array As Variant"
all the points in the plot becomes zero.
If I use
"Dim Array As Double" or
"Dim Array As Long" I get an "Type Mismatch" when I try to insert the empty ""s.
Bookmarks