SyntaxFix
Write A Post
Hire A Developer
Questions
For the benefit of anyone searching for similar, see worksheet .UsedRange, e.g. ? ActiveSheet.UsedRange.Rows.Count and loops such as For Each loopRow in Sheets(1).UsedRange.Rows: Print loopRow.Row: Next
.UsedRange
? ActiveSheet.UsedRange.Rows.Count
For Each loopRow in Sheets(1).UsedRange.Rows: Print loopRow.Row: Next