VBA Errors Causing Windows to Shut Down on When using F8

Status
Not open for further replies.

Pacman52

Active Member
Joined
Jan 29, 2009
Messages
437
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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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
Duplicate to: Excel F8 - Shut Down PC

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,225,738
Messages
6,186,728
Members
453,368
Latest member
positivemind

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