من خلال البحث في أ.Google عن هذه المشكلة ده كان الحل
In Excel 2003: go to "Tools" > "Macro" > "Security" and select the "Trusted Sources" tab. Check the box next to "Trust access to Visual Basic Project". (Note: The box for "Trust all installed add-ins and templates" should also be checked.)
يعني في اكسل 2003 .. قائمة أدوات -- ثم ماكرو -- ثم امان -- ومن تبويب مصادر التوثيق أو مركز التوثيق نحدد علامة صح على الثقة في الوصول الى طراز كائن مشروع Vba In Excel 2007, use the following navigation:
Click on the Office button in the upper left corner
Click on the Excel Options button
On the left, click on the Trust Center
Click on the Trust Center Settings button
On the left, click on Macro Settings
Click on "Trust access to the VBA project object model"
في 2007 ... من زر الأوفيس .. ثم خيارات ... ثم مركز التوثيق ... ثم إعدادات مركز التوثيق ... ثم إعدادات الماكرو ... ثم حدد علامة صح على الثقة في الوصول الى طراز كائن مشروع Vba
جرب أ.وليد
تحياتي