so i got various macros in a workbook referring to the date
is there anyway i can just make this apply to the entire workbook so i dont have to apply it to each module?
Code:
Dim Today As Date
Dim data
Set mywbk = ActiveWorkbook
Set procedures = mywbk.Sheets("Reports")
showdate = Day(procedures.Range("A29"))
showmonth = Month(procedures.Range("A29"))
showyear = Year(procedures.Range("A29"))
If Len(showdate) = 1 Then
showdate = "0" & showdate
End If
If Len(showmonth) = 1 Then
showmonth = "0" & showmonth
End If
showdate0 = Day(procedures.Range("A29"))
m5 = longm(showmonth)
is there anyway i can just make this apply to the entire workbook so i dont have to apply it to each module?