Hi,
I've written some simple VBA to look for the current date in my workbook and select the row its on, using the Sub auto_open(). The problem is that the selected row can sometimes appear half way down the screen and I would like it to be the first row.
This is the code:
For Each c In [b1:b150]
If c = Date Then
'Rows(c.Row).Select
Rows(c.Row & ":" & (c.Row + 20)).Select
End
End If
Next c
Any ideas?
Thanks in advance,
Dan
Bookmarks