Forum Discussion
sergey989
Jan 31, 2023Brass Contributor
why doesn't markros start in vba excel?
why doesn't markros start in vba excel?
JKPieterse
Feb 01, 2023Silver Contributor
This 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#
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#
sergey989
Feb 02, 2023Brass Contributor
- JKPieterseFeb 02, 2023Silver ContributorCheck Tools, References. Are there any checked references marked as "MISSING" ?
- sergey989Feb 02, 2023Brass Contributor
- HansVogelaarFeb 02, 2023MVP
The code is currently paused (see the line highlighted in yellow), so Tools > References is disabled.
You have to stop the code, then you'll be able to select Tools > References...