bloodybrit90
Board Regular
- Joined
- Jul 18, 2011
- Messages
- 111
Hi guys, I need to repeat the below code 100 times each time I click it. I have a spreadsheet with over 1,000,000 rows and throusands of columns. I am trying to delet the rows out. When I attempt to delet all the rows at once I get a message stating too much info is selected. If you know a better way, please share.
Sub Delete_empty()
'
' Delete_empty Macro
'
' Keyboard Shortcut: Ctrl+Shift+D
'
Rows("91:219").Select
Range("D91").Activate
Selection.Delete Shift:=xlUp
End Sub
Sub Delete_empty()
'
' Delete_empty Macro
'
' Keyboard Shortcut: Ctrl+Shift+D
'
Rows("91:219").Select
Range("D91").Activate
Selection.Delete Shift:=xlUp
End Sub