![]() |
#9
|
|||
|
|||
![]()
Hi again,
after you have run your recorded macro's try this macro (still before the macro I wrote for you). It will delete rows where there is data in column "E" but no data in column "D". I think we are through now with all issues!! ![]() Kind regards Bjorn PS. Have a look at the code. As you see it is not so complicated with some simple macro's, why not try to learn? It started learning just some few months ago, just by googling around ![]() Sub FixShortMonth() Application.ScreenUpdating = False Dim rownum As Long rownum = 174 Do Until Cells(rownum, 5).Value = "" If Cells(rownum, 4).Value = "" Then Cells(rownum, 1).EntireRow.Delete Else rownum = rownum + 1 End If Loop Application.ScreenUpdating = False End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wierd symbols inplace of "space", "indentation" etc | aka.bhagvanji | Word | 5 | 02-16-2012 11:50 AM |
![]() |
MShroff | Word | 8 | 01-19-2011 08:43 AM |
"Microsoft Excel Application" missing in the "Component Services" on win08 | sword.fish | Excel | 0 | 02-26-2010 02:09 PM |
How do I change the "and" to "or" with multiple Rules (and Alerts)? | bschimmel | Outlook | 0 | 11-16-2009 05:26 AM |
Saving only "DATA" on excel? No white bottom? | jrasche2003@yahoo.com | Excel | 0 | 08-07-2006 09:27 AM |