Highlight the row and column that contain the active cell, within the current region
Range(Cells(.Row, .CurrentRegion.Column), Cells(.Row, .CurrentRegion.Columns.Count + .CurrentRegion.Column - 1)).Interior.ColorIndex = 8Range(Cells(.CurrentRegion.Row, .Column
我使用下面的代码对.CurrentRegion进行数值排序。但是,这个范围的最下面一行是SubTotal,因此我不希望它包含在排序中,并且在排序发生后,它必须保留在最下面一行。在排序之前,我正在努力调整.CurrentRegion的大小,使其不包括最下面的一行。Dim j As Long, rw As Long Wit