Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50123

[SOLVED] Deleting a Row from a selected cell

$
0
0
I have the following code to delete a Row from cell D4 and everything to its right.

Can this code be simplified?

Code:

    Range("D4").Select
    Range(Selection, Selection.End(xlToRight)).Select
    Selection.Delete shift:=xlUp


Viewing all articles
Browse latest Browse all 50123

Trending Articles