Something very strange happened. At one point this was working and all of a sudden now I get an error. The issue is fm and sm, when the debug is on, fm = Empty and sm = Empty Therefore tval = Empty the error occurs at line 34 ; tval = WorksheetFunction.Sum(ws.Range(ws.Cells(fm, 11), ws.Cells(sm, 11)))
![]()
Please Login or Register to view this content.
Bookmarks