Ironman
Well-known Member
- Joined
- Jan 31, 2004
- Messages
- 1,069
- Office Version
- 365
- Platform
- Windows
Hi
There's something in my below code that causes the workbook to hang either during or immediately after the named procedures run and I strongly suspect the cause is either in the first or last 4 rows.
Also, the sheet has fairly recently been made protected (without a password) and I'm unsure whether a line is required to unprotect it.
I'd be really grateful for a solution.
Thank you!
There's something in my below code that causes the workbook to hang either during or immediately after the named procedures run and I strongly suspect the cause is either in the first or last 4 rows.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
CALC = Application.Calculation
Application.Calculation = xlCalculationManual
Application.ScreenUpdating = False
Application.EnableEvents = False
'Messages are contained here:
Call ImportantMessages
'This procedure updates the graph for the last 90 days' entries:
Call UpdateLast90Days(Target)
'This procedure copies validation from the first found entry:
'Call CopyValidation(Target)
Application.Calculation = CALC
Application.Calculate
Application.EnableEvents = True
Application.ScreenUpdating = True
End Sub
Also, the sheet has fairly recently been made protected (without a password) and I'm unsure whether a line is required to unprotect it.
I'd be really grateful for a solution.
Thank you!
Last edited: