I have some code that i'm using to fill in cells with the name that is in the cell above it...It seems to work but is taking a really long time. I use the same code on another worksheet and it takes a minute or so to finish but when I run it again on another sheet is is so slow that I've never waited long enough for it to finish!
Both sets of data are about the same length
Any ideas?
Both sets of data are about the same length
Any ideas?
Code:
Sub AccountFillDown()
ActiveSheet.Range("A2:A65536").Select
For Each cell In Selection
If cell.Value = "" Then cell.Value = cell.Offset(-1, 0).Value
If cell.Offset(0, 1).Value = "Net Income" Then Exit Sub
Next
End Sub