I have written a macro to automatically create a graph from data i have input into column D. The problem is I dont always have the same amount of data entries in this column. Can someone help me find a way to automatically search column d for data so I can input that value automatically into my range field so my graph will be correct.
Example. My graph works fine if I know how many rows of data I have such as range(d1:d20) but if the next time there are 200 rows of data, I am in trouble. I need a macro to look down column d and put the last row that contains data into my range value. Any help would be greatly appreciated.
Thanks
Example. My graph works fine if I know how many rows of data I have such as range(d1:d20) but if the next time there are 200 rows of data, I am in trouble. I need a macro to look down column d and put the last row that contains data into my range value. Any help would be greatly appreciated.
Thanks