Temporarily disable code execution for form design mode

craigyg

Board Regular
Joined
Dec 14, 2005
Messages
114
In short, the Access VBA that I've written is interfering with my designing and modifying some forms. I would like to pause code execution while I'm in design mode changing these forms. I went to the Visual Basic Editor and put it in Break mode but that didn't seem to do the trick. Any suggestions?

- Craig
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,358
Office Version
  1. 365
Platform
  1. Windows
Craig

As far as I know if you are in Design mode then there is no code execution happening.:eek:
 
Upvote 0

SydneyGeek

MrExcel MVP
Joined
Aug 5, 2003
Messages
12,251
There should not be any code running for that form when you are in Design view, as Norie said.

Is the code originating elsewhere, eg in a Timer event on another form? If so, place that form in Design view too, then go to the form you want to work on and make your changes. Don't forget to reinstate the timer form afterwards...

Denis
 
Upvote 0

Forum statistics

Threads
1,191,214
Messages
5,985,312
Members
439,957
Latest member
venky2002

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top