PS. I did the code for the macro auto run
-----------------------------
private sub woorkbook_open
run "myMacro"
end sub
-----------------------------
Again, Thank you
Ra'ef
Hello again
the five hrs thing was not a good idia,
i was trying the first one:
----------------------------------------------
Sub hide_sht()
Dim sht As Worksheet
For Each sht In Application.Worksheets
If sht.Cells(1, 1).Value <> Date Then
sht.Visible = msoFalse
Else...
Hello guys
I have one workbook for each month, contains a worksheet for each day (31 sheets) Cell A1 of each sheet is a date cell.
what i need to do is to hide the sheet IF the sheet's date (A1) is not equal the computer's date:
If A1 <> today() then sheet.visible = xlSheetVeryHiden...