Start code execution
One way to test your code is to run it and work with it as a user would.
To start code execution
- Choose Run Sub/UserForm (F5) from the Run menu.
If your application doesn't run, it may be because:
A syntax error or some other error exists in your code.
A logic error exists in your code, which may result in a run-time error.
To get Help, choose the Help button or press F1 while the error message is displayed. Consider the suggestions provided to correct the error before you run your code again.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om