Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I just tried to group the "empty" rows at once, in this way:
excelWorksheet.UsedRange.SpecialCells(XlCellType.x lCellTypeBlanks, Missing.Value).Group(Missing.Value, Missing.Value, Missing.Value, Missing.Value); but I've obtained: " The command you chose cannot be performed with multiple selections. Select a single range and click the command again. " System.Runtime.InteropServices.ExternalException {System.Runtime.InteropServices.COMException} "Joel" wrote: set emptycells = Columns("A:A").SpecialCells(xlCellTypeBlanks) You may get one extra cell at row after the last row of your data. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Merge the same group of cells down a column quickly | Excel Discussion (Misc queries) | |||
Excel- find the last filled cells in column with empty cells | Excel Programming | |||
Empty/Delete Cells in a Column | Excel Programming | |||
Delete Rows with Empty Cells with empty column 1 | Excel Programming | |||
How can i copy a group of cells in a row to a column? | Excel Discussion (Misc queries) |