View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Shane Shane is offline
external usenet poster
 
Posts: 18
Default variable Question

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"