Hi All,
I've been looking for a while through numerous threads to find a solution to my problem. Anyways I am grabbing information from another workbook from another department and the cells where I need the information are always changing. I need to be able to select the first visible cell and set my workbook to this cell (it is always a date). This date changes depending on when the information has been updated. The old dates are hidden. So I want a line of code that can help me find this.
This is one of the iterations that I've tried so far...
Range("P4").Select
Do Until UsedRange.SpecialCells(xlCellTypeVisible)
ActiveCell.Offset(0,1).Select
Loop
Any help would be appreciated.
I've been looking for a while through numerous threads to find a solution to my problem. Anyways I am grabbing information from another workbook from another department and the cells where I need the information are always changing. I need to be able to select the first visible cell and set my workbook to this cell (it is always a date). This date changes depending on when the information has been updated. The old dates are hidden. So I want a line of code that can help me find this.
This is one of the iterations that I've tried so far...
Range("P4").Select
Do Until UsedRange.SpecialCells(xlCellTypeVisible)
ActiveCell.Offset(0,1).Select
Loop
Any help would be appreciated.