Table of contents
TOC
Collapse the table of content
Expand the table of content

Can't execute immediate statements in design mode

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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).

© 2017 Microsoft