السلام عليكم ورحمة الله وبركاته
غيرت الجهاز واصبح الويندوز 10 و الاوفيس 2013 وهذه اول مشكلة نتيجة لذلك وارجو ان تكون الاخيرة
عند فتح ملف الاكسيل فتح على الكود الموضوع في thisworkbook
Option Explicit
Private Declare Function sndPlaySound32 Lib "winmm.dll" _
Alias "sndPlaySoundA" (ByVal lpszSoundName _
As String, ByVal uFlags As Long) As Long
ومضيء كلمة function واعطى هذه الرسالة
the code in thise projet must be updated for use on 64-bit systems
please review and update declare statments and then mark them with the PtrSafe attribute
فماذا افعل لاصلاح الوضع ؟ وفقكم الله