A third party program we use produces a report to Excel 2010, the number rows of data varies each week.
A macro is run on the report which returns using countif() the number of instances of 5 differeing strings.
Using 'Range("K65536").End(x1Up).Select', which works out the last cell containing data.
and the using 'ActiveCell.Formula = "=Countif(K:K,""string"")"
Question: I wish to use the same row count above to sum another column of numerical data of which only a few rows contain data.
If I Use:
'Range("G65536").End(x1Up).Select'
'ActiveCell.Formula = "=Sum(G:G)"
The data is entered in the next empty cell and not on the same row as column K. I want to use the same row count as K:K..
Any Ideas
Regards
Bookmarks