Hi,
How to identify/Activate sheet if contains date (mm.dd.yyyy) in current workbook?
Regards,
Uday
Hi,
How to identify/Activate sheet if contains date (mm.dd.yyyy) in current workbook?
Regards,
Uday
Private Sub Workbook_Open() Dim ws As Worksheet For Each ws In ThisWorkbook.Worksheets If IsDate(Replace(ws.Name, ".", "-")) Then ws.Activate Exit For End If Next ws End Sub
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber