Hi all, I briefly asked about this ages ago just for some general advice but I've now had the time to look for a solution but no luck.
So firstly I'm running on a Windows 11 Home User 64bit edition, with Office 365.
When using a Excel macro enabled workbook (WB) with Modules, Userform's etc as soon as I press F8 to step into some code, my computer immediately shuts down and a few moments later starts backup and takes me back to the same windows / programs that were open before I pressed F8.
My initial thought was it was some 'dodgy' code in my WB, so closed everything down, shut down and restarted my PC and then opened a completely new WB, added a few lines of very basic VBA, saved the WB and reopened it. But again as soon as I pressed F8 the PC shut down and restarted, I then tried on my Laptop again with 365 but Win 10 and it worked fine (both F8 & F11)
Next I removed Office 365 from the PC, shut down, restarted and installed a new version again the same thing happened when pressing F8 in that the PC shut down and restarted again. I also noted that when I pressed F11 to get to VBA, this did nothing, the only way to access VBA was to right click on a worksheet and select view code.
I'm now completely stuck on what could be causing the problem with Excel. All the other 365 apps work with absolutely no issues and even Excel does if I manually access the VBA window.
Just to note, I did recently replace my SSD hard drive to a new bigger one and also upgraded my ram from 32 to 64 but checked with HP tech support before buying that what I was planning to do is supported by my PC model, and I installed a new 'Clean version of Windows 11'. Logic tells me that the Excel problem is not related to the upgrades as literally everything else works perfectly including Excel generally.
Does anyone know of a solution or a known issue that could be causing this and more importantly how to solve it - could it be a keyboard issue perhaps.
Many thanks for any help offered.
Paul
So firstly I'm running on a Windows 11 Home User 64bit edition, with Office 365.
When using a Excel macro enabled workbook (WB) with Modules, Userform's etc as soon as I press F8 to step into some code, my computer immediately shuts down and a few moments later starts backup and takes me back to the same windows / programs that were open before I pressed F8.
My initial thought was it was some 'dodgy' code in my WB, so closed everything down, shut down and restarted my PC and then opened a completely new WB, added a few lines of very basic VBA, saved the WB and reopened it. But again as soon as I pressed F8 the PC shut down and restarted, I then tried on my Laptop again with 365 but Win 10 and it worked fine (both F8 & F11)
Next I removed Office 365 from the PC, shut down, restarted and installed a new version again the same thing happened when pressing F8 in that the PC shut down and restarted again. I also noted that when I pressed F11 to get to VBA, this did nothing, the only way to access VBA was to right click on a worksheet and select view code.
I'm now completely stuck on what could be causing the problem with Excel. All the other 365 apps work with absolutely no issues and even Excel does if I manually access the VBA window.
Just to note, I did recently replace my SSD hard drive to a new bigger one and also upgraded my ram from 32 to 64 but checked with HP tech support before buying that what I was planning to do is supported by my PC model, and I installed a new 'Clean version of Windows 11'. Logic tells me that the Excel problem is not related to the upgrades as literally everything else works perfectly including Excel generally.
Does anyone know of a solution or a known issue that could be causing this and more importantly how to solve it - could it be a keyboard issue perhaps.
Many thanks for any help offered.
Paul