Print command
Evaluates an expression or displays specified text.
Syntax
>Debug.Print text
Arguments
text
Required. The expression to evaluate or the text to display.
Remarks
You can use the question mark (?) as an alias for this command. So, for example, the command
>Debug.Print expA
can also be written as
? expA
Both versions of this command return the current value of the expression expA
.
Example
>Debug.Print DateTime.Now.Day
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för