Was wondering if someone could help me with defining a range from data in excel.
I have a lot of data in excel that varies both by rows and columns. I need to define this array in VBA, but want it to change if more columns or rows are added e.g array may be from C6:k100 but then change to c6:z250, but don't know where to start. If I know the data will always start in c6 how can I write some code to pick up the correct size of the array?
Any help appreciated
I have a lot of data in excel that varies both by rows and columns. I need to define this array in VBA, but want it to change if more columns or rows are added e.g array may be from C6:k100 but then change to c6:z250, but don't know where to start. If I know the data will always start in c6 how can I write some code to pick up the correct size of the array?
Any help appreciated