Forum Discussion
sergey989
Jan 31, 2023Brass Contributor
why doesn't markros start in vba excel?
why doesn't markros start in vba excel?
18 Replies
- JKPieterseSilver ContributorImpossible to say when you do not give us access to the VBA code 🙂
- sergey989Brass Contributor
- JKPieterseSilver ContributorThis statement:
Public Const activate_end As Date = "08.02.2023"
causes a compile error as you are trying to assign a string to a date variable.The correct syntax is:
Public Const activate_end As Date = #2/8/2023#