I am working with macro that creates email and includes Excel table in a body of an email. My problem is that it does not include last row of the table and cuts it off. Is there anything I can change to avoid last row of the table being omitted?
To define the table range I use following:
Dim count_row, count_col As Integer
Dim Actions as Range
count_row = WorksheetFunction.CountA(Range("B2", Range("B2").End(xlDown)))
count_col = WorksheetFunction.CountA(Range("B2", Range("B2").End(xlToRight)))
Set Actions = Sheets("Name of the sheet"). Range(Cells(2,2), Cells(count_row, count_col))