I have a dynamic range that I want to sum. I'm using lastRow to find the last row of data. The problem is that once I wrap the formula in quotes VBA does not recognize lastrow as a variable. I've tried all sorts of quote combinations - double quotes, triple quotes, apostrophes, etc. None seem to work. The code below does not work.
It returns =SUM("A2:A" & lastrow) in cell G3.Please Login or Register to view this content.
Any help would be greatly appreciated.
Bookmarks