ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Select number of rows in a graph? (https://www.excelbanter.com/excel-programming/350099-select-number-rows-graph.html)

cratediggah

Select number of rows in a graph?
 

Hi All,

I create a variable which counts the number of rows as 'NumRows' and
need to use it in the following vb:

ActiveChart.SetSourceData Source:=Sheets("Net
Sales").Range("A1:AD*INSERTROWSHERE*"), _
PlotBy:=xlColumns

How do I add the variable in this section? Thanks


--
cratediggah
------------------------------------------------------------------------
cratediggah's Profile: http://www.excelforum.com/member.php...o&userid=30363
View this thread: http://www.excelforum.com/showthread...hreadid=500166



All times are GMT +1. The time now is 11:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com