variable Question

N

Nigel

One way........

Dim ix as integer
ix = 27
ActiveChart.SeriesCollection(1).Values = "='Target Data'!R6C4:R" & ix & "C4"


Cheers
Nigel
Hi All,

How can i get R"26" to be a variable in the code below

ActiveChart.SeriesCollection(1).Values = "='Target Data'!R6C4:R26C4"

so that the answer becomes

x = 27

ActiveChart.SeriesCollection(1).Values = "='Target Data'!R6C4:R27C4"
 
S

Shane

Hi All,

How can i get R"26" to be a variable in the code below

ActiveChart.SeriesCollection(1).Values = "='Target Data'!R6C4:R26C4"

so that the answer becomes

x = 27

ActiveChart.SeriesCollection(1).Values = "='Target Data'!R6C4:R27C4"
 
S

Shane

thank you!!!!
One way........

Dim ix as integer
ix = 27
ActiveChart.SeriesCollection(1).Values = "='Target Data'!R6C4:R" & ix & "C4"


Cheers
Nigel
Hi All,

How can i get R"26" to be a variable in the code below

ActiveChart.SeriesCollection(1).Values = "='Target Data'!R6C4:R26C4"

so that the answer becomes

x = 27

ActiveChart.SeriesCollection(1).Values = "='Target Data'!R6C4:R27C4"
 
Top