Как определить последнюю заполненную строку и столбец
Категория: Basic
2012-12-23 19:14:38
code: #vba
With ActiveSheet.UsedRange iRow = .Row + .Rows.Count - 1 iClm = .Column + .Columns.Count - 1 End With
code: #vba
With Worksheets(1).UsedRange iRow = .Row + .Rows.Count - 1 iClm = .Column + .Columns.Count - 1 End With
code: #vba
With Worksheets("Лист1").UsedRange iRow = .Row + .Rows.Count - 1 iClm = .Column + .Columns.Count - 1 End With
code: #vba
iCountRow = ActiveSheet.UsedRange.Rows.Count iCountClm = ActiveSheet.UsedRange.Columns.Count
Поделиться: