Hi,
Trying to create a macro to find a sheet (SheetName - dd/mm/yyyy) closest to todays date.
Code below only finds the sheet name within the quotes and not the format date.
Sub Test()
Dim sh As Worksheet, flg As Boolean
Dim i As Integer
Dim lookUpSheet As String
i = 0
For Each sh In...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.