Hi all,
I have a function that works out which is the last column containing data on a worksheet, but for some reason it is alwys retuning 0. Just wondering if anybody is able to spot where I am going wrong.
Here is the function I am using -
And here are the ways I have tried retrieving data from the function, all of which return 0 -![]()
Please Login or Register to view this content.
When I take the Error handleing out I am getting the error 'Object Variable or With Block Variable not set'. All variables are correctly declered.![]()
Please Login or Register to view this content.
Any help is greatly appriciated.
Thanks.
Bookmarks