01-08-20, 07:23 PM
(01-08-20, 06:30 PM)Anas Mahmoud كتب :كود :
Private Sub Command1_Click()
On Error Resume Next
oWord = CreateObject("Word.Application")
If Err.Number <> 0 Then
If Err.Number = 429 Then
'Cannot create object
MsgBox "Word is not available"
End If
'Failed
Unload Me
Else
MsgBox "Word is available"
End If
End Sub
https://www.experts-exchange.com/questio...#succeeded
لكم فائق الشكر والتقدير
تحياتي
إذا ضاقت بك الأحوال يوماً فَثِقْ بالواحِدِ الفَرْدِ العَلِيِّ

