Ive been using the following method to find the last row on multiple sheets that contain web queries. The queries contain lists of stock symbols that i filter and move to a master sheet that i then import to my trading application. They all normally work fine, but some days the queries contain no stocks for the day and i receive... "Run-time error'91': Object variable or With block variable not set". Heres the code.....
Ive tried playing around with 'If NOT lastrow is NOTHING then' and ' IF lastrow is NOTHING then' but couldnt get anything to work. Not even sure if that approach would even work with this kind of problem.Was wondering if there was a way to work around this. Any help would be greatly appreciated.
Bookmarks