.xlsm files won't open, Excel 2016 stops working.

mmacdougall

New Member
Joined
Jun 20, 2005
Messages
38
We have some .xlsm files we use at the office. All of a sudden when we try to open them, Excel stops working and won't open. It then places the file we tried to open on the disabled list. I've tried it now on 4 users machines and it's doing it for all of them. I imagine it's because of an update, just not sure what to do as we use these .xlsm files for each project.

We are using Excel 2016
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
After the crash, I get this.

Problem signature:
Problem Event Name: BEX
Application Name: EXCEL.EXE
Application Version: 16.0.8067.2115
Application Timestamp: 5918bd78
Fault Module Name: MSVCR100.dll
Fault Module Version: 10.0.40219.325
Fault Module Timestamp: 4d5f0c22
Exception Offset: 0008af3e
Exception Code: c0000417
Exception Data: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 4105

Additional information about the problem:
LCID: 1033
skulcid: 1033

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
 
Upvote 0
Is there any chance you could upload it to some cloud storage?
 
Upvote 0
Here you go, its on onedrive. https://1drv.ms/x/s!AtjqpJojJmetgQNX4Iv2T6BpWQ5u

We are using Office home and business 2016. Fully updated. Version 1704 Build 8067.2115 click to run

We use this file as a template for every job we do. As of a few days ago, this template has stopped working, as well as each saved file per job. 100's. Im sure its an update causing it, but we really need to be able to get into our old macro enabled files.

Thanks
 
Last edited:
Upvote 0
For my Office 2010 this workbook opens OK. You're using some component (which isn't available on my machine) - perhaps, it causes error. Also try to disable any add-ins.
As a side note, your Sub UNHIDE could be narrowed to one line: Columns("F:O").EntireColumn.Hidden = False. Also CheckBox124_Click logic could be simplified too: Columns("F").EntireColumn.Hidden = Not Range("F3").Value.
 
Upvote 0
Also for simplifying creating SQL queries you could use the following FormatString helper function. The usage example is also provided:
Code:
Sub TestFormatString()
    MsgBox FormatString("I have {0} apples and {1} bananas", 10, 20)
End Sub


Function FormatString(str As String, ParamArray args()) As String
    Dim s As String, x As Integer
    s = str
    For x = UBound(args) To 0 Step -1
        s = Replace$(s, "{" & x & "}", args(x))
    Next
    FormatString = s
End Function
 
Upvote 0
The issue is, it worked before an office update. We have hundreds of these spreadsheets, I wont be able to make any changes to them. Some are 10 years old.
 
Upvote 0
As soon as I uninstall the Office update, I can open them again.

This is a temp fix, but at some point I will have to get Office updated and current.
 
Upvote 0
I have vba code developed on windows 7. I have been able to move it to my windows 10 machine simply by copying the xlm file to a thumb rive and the coying the file to the windows 10 machine. This establishes a desktop icon with the file name "Bova1". When I click the desktop icon excel starts to load but stops at about 72%. The file is placed in disabled status.

I have a work around but it is cumbersome.

1. click on the excel icon to start excel with no code loaded
2. select blank sheet from file
3. clear the file from disabled status (File, options, add ins, manage,go etc)
4. From file click the name of the file "Bova1" and it loads and executes

Any help would be appreciated
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,823
Members
449,049
Latest member
cybersurfer5000

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