![]() |
#1
|
|||
|
|||
![]()
I want to delete the row that the current selected cell is on. the following code deletes that cell, but how can i delete the entire row?
Code:
' cutRow Macro ' ' Keyboard Shortcut: Option+Cmd+u ' Selection.Delete End Sub |
#2
|
|||
|
|||
![]() Code:
Sub DeleteRow() ActiveCell.EntireRow.Delete End Sub |
#3
|
|||
|
|||
![]()
Thank you
![]() |
#4
|
|||
|
|||
![]()
You are very welcome. Thanks for the feedback.
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot Select Objects in Excel | instamatic | Excel | 0 | 08-22-2016 10:45 AM |
![]() |
FTL | Word | 5 | 03-08-2016 06:10 PM |
![]() |
majed_m | Word VBA | 5 | 07-30-2015 03:29 AM |
![]() |
czsti | Word VBA | 1 | 08-14-2013 08:32 AM |
Select text between characters | davers | Word | 10 | 05-24-2009 05:15 AM |