I am attempting to create a chart with a dynamic data series. Each series in the chart comes from an absolute range, but only a certain amount of that range may have data, a
One solution is that the chart/graph doesn't show the hidden rows.
You can test this features doing: 1)right click on row number 2)click on hide.
For doing it automatically, this is the simple code:
For Each r In worksheet.Range("A1:A200")
If r.Value = "" Then
r.EntireRow.Hidden = True
Else:
r.EntireRow.Hidden = False
Next