title | keywords | f1_keywords | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Can't execute immediate statements in design mode |
vblr6.chm1015637 |
|
ceb67fa9-6893-6e03-6d88-c48a2b9da937 |
06/08/2017 |
medium |
Design time is any time that your code isn't being executed, or is suspended and waiting to be continued. This error has the following cause and solution:
- You tried to execute a statement in the Immediate window, but your code isn't in a running mode. Start your code running, and then suspend program execution. You can then execute code in the Immediate window.
For additional information, place the cursor in the Immediate window and press F1 (in Windows) or HELP (on the Macintosh).
[!includeSupport and feedback]