excel - vba changing $c$3 to $d$3 -


can me?

actually looking vba script in excel:

i want change cell location $c$3 $d$3 in each iteration

i trying use chr method not working. dashboard sheet name

activechart.seriescollection(2).name = "=dashboard!$c$8"            'changes,in next iteration should change $d$8 , on till j  activechart.seriescollection(2).values = "=dashboard!$c$9:$c$22"    'changes,in next iteration should change $d$9:$d$22  , on till j  dim integer dim j integer dim k integer dim t integer dim associatedchar  t = 67  = 1 2     j = 1 8         k = 1 8             if (check(i, j, k) = true)                 activesheet.chartobjects("chart 1").activate                 activechart.chartarea.select                 activechart.seriescollection(1).name = "=dashboard!$c$8"                 activechart.seriescollection(1).values = "=dashboard!$c$9:$c$22"                  associatedchar = chr(67)                 'this trying use associate value intially $c$8 in next                 'iterattion want change $d$8 $e$8 , on.`enter code here`                  activechart.seriescollection(2).name = "=dashboard!$associatedchar$8"            'changes                 activechart.seriescollection(2).values = "=dashboard!$associatedchar$9:$associatedchar$22"    'changes                  activechart.seriescollection(1).xvalues = "=dashboard!$b$9:$b$22"                 activechart.seriescollection(2).xvalues = "=dashboard!$b$9:$b$22"             end if         next k     next j next  end sub 

does replacing associatedchar " & associatedchar& " within code @ all?


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -