VBA Errors Causing Windows to Shut Down on When using F8

Pacman52

Active Member
Joined
Jan 29, 2009
Messages
426
Office Version
  1. 365
Platform
  1. Windows
Hi all does anyone know of a known issue with Windows 11 and VBA as I've just installed a new clean version of Win 11 onto a brand new SSD. Then installed all my programs and apps etc including MS365.

Everything works fine apart from using VBA in particular when I get an error in some code. As soon as I press F8 to step through the code, my PC shuts down immediately and after a while re-starts and re-loads everything back to the way it was with VBA open but now 'locked'
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Is it in ALL VBA modules / workbooks, or just that one.
If it's just that one there may be a corruption issue.
Have a look at this thread for some possible solutions
 
Upvote 0
Hi Michael thanks for the reply and the link that I will take a look at.

I'm currently working on two workbooks with VBA at the moment and to be honest can't remember if the issue occurs on them both either way I will force some errors on some test books to see what happens.
 
Upvote 0

Forum statistics

Threads
1,224,710
Messages
6,180,485
Members
452,987
Latest member
johnsonlily7890

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
Back
Top