لو تكرمت استاذي الفاضل هذا الكود فانكشن لمكتبة في الاوفيس لا يتعامل مع اوفيس 64 فما التعديل عليه ليتوافق مع اوفيس 64
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long