Hi Arishy,
- Selection.Delete Shift:=xlUp
Select any area in Excel sheet, and press Ctrl + (-) , Ctrl Plus Minus
It will delete the cell, and ask you, how you want to fill the structure of the sheet, after deleting cell's from its location. if you select xlUP, the cell's below the selected cell, will come UPward, to fill the deleted area.
Select any area, and press Delete key. The cell's will still in its position, and the data in the cell, will be cleared. Nothing changes in the structure of the sheet. Simply clear the data in the cell.
Now, if you are in myth, that, selection.Clear is used to clear your selection, then you are in huge Misunderstanding. You cant de-select all cell, you have to select atleast a single cell to de-select any other cell. If you add
Range("A1").select at the next line, you are selecting a cell, by leaving the other selected cell.
Please clarify, what exactly you want after
Removing cell /
deleting cell content