Thisworkbook Object in VBE crashes Excel

BDrew

Board Regular
Joined
Jun 8, 2008
Messages
78
I have a new Lenovo i7 with 32 bit Office 2016. When I select Thisworkbook object in the VBE, Excel crashes.
Searches have not found a solution and extracting to bas or cls files fail to import to clean wkb on selecting the object.

Any solutions?

Brendan
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
34,338
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
Have you tried starting Excel in Safe mode? Does it only happen with one workbook, or any?
 

BDrew

Board Regular
Joined
Jun 8, 2008
Messages
78
I have tried starting in Safe Mode and it still crashes when selecting ThisWorkbook object in the VBE
even though no addins or macro files are loaded.

It occurs on all workbooks including new files.

Brendan
 
Last edited:

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
34,338
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
In that case I can only suggest a full uninstall, reboot and reinstall of Office. I'd also make sure you clean out/delete any Office folders before reinstalling.
 

BDrew

Board Regular
Joined
Jun 8, 2008
Messages
78
Thanks Rory,

I will try that.

Brendan
 

BDrew

Board Regular
Joined
Jun 8, 2008
Messages
78
The Outcome, following the reinstall that did not change anything, is that I was being recognised as a User rather than Administrator and this restricted my access to ThisWorkbook object.

All good now. Thanks Rory for your help.

Part of the new Laptop process to "Get to know stuff that you did not want to know".

Hope this helps the next person to experience the same.

Brendan
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
34,338
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
That is bizarre. I have never heard of that and don’t think it’s normal, but I’m glad you’re all sorted anyway. :)
 

BDrew

Board Regular
Joined
Jun 8, 2008
Messages
78
Quite bizarre.
Lenovo i7 8thGen with Office 2016 Prof plus

Does not occur on the Toshiba or Hp machines.
 

Forum statistics

Threads
1,081,973
Messages
5,362,505
Members
400,677
Latest member
champchamp

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top