This has just started happening

colinharwood

Active Member
Joined
Jul 27, 2002
Messages
440
Office Version
  1. 365
Platform
  1. Windows
Hi
I have an Excel file which I have been using for many years, and it has just started to be a problem.
When opening the file, please see screenshot 1, this happens, and when closing the file, screenshot 2 happens.
Any idea what can be causing this
Thanks
 

Attachments

  • Screenshot_1.jpg
    Screenshot_1.jpg
    139.5 KB · Views: 24
  • Screenshot_2.jpg
    Screenshot_2.jpg
    74.4 KB · Views: 25

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
From the VBA Editor, if you go to Tools --> References, which libraries do you have selected? You should probably have at least these 4 (though they may be different version numbers):
1727952374131.png


Also, I highly recommend turning on "Option Explicit". This will force you to declare all variables before using them. This is a great way to avoid typos, and any confusion between variables, functions, procedures, objects, etc.
See here: How to use Option Explicit Statement in VBA
 
Upvote 0
You almost certainly have at least one library selected that is shown with 'MISSING:' at the start of its name.
 
Upvote 0
Solution

Forum statistics

Threads
1,226,112
Messages
6,189,039
Members
453,521
Latest member
Chris_Hed

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