Hello to All!
I have two Excel Programs. One of it launch another with:
Then, when the second program starts displays window ( a headband). After this window closes there is a code:
At this line sometimes program shows me such a mistake: Method Calculation of ob-ject “Application” failed. What does it mean?
I have two Excel Programs. One of it launch another with:
Code:
Set XlChpr = CreateObject("Excel.application")
XlChpr.Visible = True
XlChpr.Workbooks.Open Range("path").Text
Code:
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
Application.Calculation = xlAutomatic
End Sub
Last edited by a moderator: