VBAProIWish
Well-known Member
- Joined
- Jul 6, 2009
- Messages
- 1,027
- Office Version
- 365
- Platform
- Windows
Hello All,
I have one this one line of code here and would like to change it to the current region of cell A1 instead of only going to 6500. The # of rows will get longer each month.
I know I can just put in "$A$1:$C$1000000" but don't want to select unnecessary rows if I don't have to.
Thanks much
I have one this one line of code here and would like to change it to the current region of cell A1 instead of only going to 6500. The # of rows will get longer each month.
Code:
ActiveChart.SetSourceData Source:=Range("GRAPES![B][SIZE=3][COLOR=red]$A$1:$C$6500[/COLOR][/SIZE][/B]")
I know I can just put in "$A$1:$C$1000000" but don't want to select unnecessary rows if I don't have to.
Thanks much