RockandGrohl
Well-known Member
- Joined
- Aug 1, 2018
- Messages
- 801
- Office Version
- 365
- Platform
- Windows
Getting a really frustrating crash, which is happening -every- time a macro opens another workbook.
The workbook hasn't changed in name, type or anything since yesterday when it was working.
It was working yesterday, Tuesday, Monday, all last week and every day before that. Today, it crashes my excel when the macro goes to open this workbook using the following code:
On the bolded line, it immediately crashes my excel when it is ran.
Anyone got any ideas? Thanks.
EDIT:
This workbook itself crashes when I open it from Windows Explorer. VBE7.dll
This is actually a problem that happens periodically on different workbooks that have Macros in them, we have to restore from a backup file to get them to work again.
The workbook hasn't changed in name, type or anything since yesterday when it was working.
It was working yesterday, Tuesday, Monday, all last week and every day before that. Today, it crashes my excel when the macro goes to open this workbook using the following code:
Code:
If ahopen <> True ThenApplication.DisplayAlerts = False
[B]Set ah = Workbooks.Open("\\chw-dc03\company\Sales\Regional Press Selections\" & wbyr & "\Automation Hub.xlsm", False, False)[/B]
Application.DisplayAlerts = True
Else
ah.Activate
End If
On the bolded line, it immediately crashes my excel when it is ran.
Anyone got any ideas? Thanks.
EDIT:
This workbook itself crashes when I open it from Windows Explorer. VBE7.dll
Code:
Problem signature: Problem Event Name: APPCRASH
Application Name: EXCEL.EXE
Application Version: 14.0.6024.1000
Application Timestamp: 4d83e39d
Fault Module Name: VBE7.DLL
Fault Module Version: 7.0.16.19
Fault Module Timestamp: 4d430b79
Exception Code: c0000005
Exception Offset: 00000000000a9b03
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 2057
This is actually a problem that happens periodically on different workbooks that have Macros in them, we have to restore from a backup file to get them to work again.
Last edited: