اذهب الي المحتوي
أوفيسنا

كيفية تثبيت أكواد الأكسل؟


الردود الموصى بها

السلام عليكم ورحمة الله...

عندي مشكلة بسيطة وهي أنه بعد غلق الملف المسجل عليه الكود، وفتحه مرة أخرى أجد الكود لا يعمل، فهل توجد طريقة لتفعيل الكود بشكل ثابت، حتى فى حالات غلق الملف وفتحه اكثر من مرة؟

وشكراااااااااااا 

رابط هذا التعليق
شارك

السلام عليكم

الاخ الكريم

علي ما اعتقد ان موضوعك لا يحتاج الي اي طريقة سوي ضبط امتداد حفظ الملف

فما هو اصدار الاوفيس لديك ؟

وما هو الامتداد الذي تقوم بحفظ الملف عليه ؟

في انتظار ردك

تقبل خالص تحياتي

رابط هذا التعليق
شارك

يا اخي اليك ما يجب ان تفعله 

اذا كان لديك اكسل 2010  احفظ الملف بامتداد    xlms    

و ذلك كما يلي :  بعد الانتهاء من العمل على الملف:

1- اضغط  F12

2- في خانة  save as type  اختر  xlms     (الثانيةفي الجدول)

3 - اختر اسم للملف  ثم ok     

تم تعديل بواسطه سليم حاصبيا
رابط هذا التعليق
شارك

بارك الله فيك أخي سليم

واضافه لمشاركتك ان ما ذكرته ينطبق أيضا علي الاصدارات

2007 / 2010 / 2013

تقبلوا خالص تحياتي

رابط هذا التعليق
شارك

السلام عليكم

الأخ الكريم

بالنسبة لاوفيس 2003 فان هذا الاصدار

به هذه الميزة تلقائيا { حفظالأكواد } حيث انه ليس به الا امتداد واحد وهو xls

وهذا الامتداد يحفظ الاكواد تلقائيا بمجرد الحفظ العادي للملف

وان لم تحل المشكله لديك برجاء ارسال ملف به هذة المشكلة للاطلاع عليه والوقوف علي الخطأ

تقبل خالص تحياتي

رابط هذا التعليق
شارك

السلام عليكم سيدي الفاضل

أنا لا أتحدث عن تثبيت الكود في الملف ككود ولكني أتحدث عن تثبيت عمل الدوال التي تعمل بالكود، وهذا الامر لاحظته حتى في الملفات المرفقة من جانب الأخوة الكرام، فعلى سبيل المثال عندي ملف لدالة تفقيط الأرقام، والدالة تعمل بشكل جيد حتى غلق الملف، ولكن عند فتحة مرة أخرى ووضع أرقام جديدة أجد الناتج أصبح ?Name#، شكرا لكم على سعة صدركم معي وجزاكم الله خيرا...

تم تعديل بواسطه morgan09suez
رابط هذا التعليق
شارك

كما تأتي الى الرسالة التالية عند فتح الملف المثبت عليه الكود:

You may encounter this error for the following reasons:
Macro security is set to:
Very High and the application encounters a signed macro, but the macro was automatically disabled. Use the following procedure to enable the macro:
Select the Tools menu option and then select Macro and Security. In the resulting Security dialog, set the security level to High by clicking the High radio button.
Close the file and any other instances of the application currently running on the computer (close all applications that also use the application you are currently running).
Open the file again and examine the certificate of trust details and set the Always trust macros from this publisher box if you trust the certificate issued by the publisher.
Click the Enable button to allow the macro to run.
High and the application encounters a signed macro, but you selected Disable when prompted by the macro warning dialog when opening the file. Use the following procedure to enable the macro:
Close the file and any other instances of the application currently running on the computer (close all applications that also use the application you are currently running).
Open the file again and examine the certificate of trust details and set the Always trust macros from this publisher box if you trust the certificate issued by the publisher.
Click the Enable button to allow the macro to run.
High or Very High and the macro was not signed and was automatically disabled by the application. Use the following procedure to enable the macro, if you have verified you can trust the source of the unsigned macro:
Select the Tools menu option and then select Macro and Security. In the resulting Security dialog, set the security level to Medium by clicking the Medium radio button.
Close the file and any other instances of the application currently running on the computer.
Open the file again and click the Enable button when prompted to allow for the unsigned macro to run.
When you have accepted the macro, return the macro security level to its previous setting.
Another instance of your application has a lock on the security settings and is disallowing any changes to security settings.
It is recommended to close all Office related applications or other instances of the same application when you attempt to make changes to your security settings.
Visual Basic for Applications (VBA) is not installed on your computer.
If VBA is not installed, it is not possible to accept certificates of trust attached to VBA macros. Therefore, any VBA macro attempting to run, even with an attached certificate of trust, cannot be run because the necessary macro interpreter is not installed on the system. Two scenarios can cause this error:
Your administrator chose not to install VBA
The version of Office you are running does not install VBA by default
If you are running an instance of Office that does not provide VBA as an installable feature, you will need to upgrade your version of Office to run VBA macros.
The certificate of trust is invalid - (when this occurs, you cannot select the Enable button).
The certificate is no longer trusted, was revoked by the issuing authority, or is damaged. There are several other possibilities which you may need to explore as to why the certificate is no longer recognized as valid by your system. It is recommended that you not trust or run a macro that has an invalid certificate.
A troubleshooter help topic is available online regarding this issue.
رابط هذا التعليق
شارك

برجاء ارفاق ملف لتوضيح الصورة اكثر وصورة من هذا الخطأ

وهل تقوم بتمكين وحدات الماكرو الي منخفض في ملفاتك ام لا  ؟

رابط هذا التعليق
شارك

أعتقد أن مشكلتك تحتاج لأعداد الأكسيل فقط حتى يثق في الماكرو المضاف لآنه يتعامل معه على أنه فيروس محتمل فيقوم بأيقاف التعامل معه تماما بيعمل له Disable
وممكن يكون ظاهر لك رساله في شريط الأدوات بالأعلى أو أعلى طرف الملف بها كلمه (Option) لأختيار وضعية التعامل مع هذا الماكرو بالأيقاف أو السماح ..ألخ ولا تنتبهه لها فيظل موقوف
وأن لم تكن ظاهره هذه الرساله بأعلى الملف قم بالدخول على الأوبشين وعمل الخطوات التاليه ... وأنا هنا أتكلم عن أوفيس 2007 ... ولكن الموضوع مش فارق كثير ... فالمهم أنك تصل لتظبيط الأختيارات عند الفتح والسماح في قسم الأمان والباسورد لفتح الماكرو تلقائيا عند فتح الملف أو على الأقل أعطاءك الأختيار للفتح أو الرفض ومن ثم الأختيار عند فتح الملف ... وأليك الخطوات
Excel options \ trust center
Activex settings
Macro settings
Message bar
External content
يجب عليك أختيار تمكين .. أو السماح ... أو السؤال عند الفتح ... أو العرض بالنسبه لبار الرساله
وأعتقد أنشاءالله سوف تحل مشكلتك

  • Like 1
رابط هذا التعليق
شارك

  • 2 weeks later...

شكرا لك أخى الكريم، هذا هو الملف

الملف يعمل جيدا يا أخي العزيز ... وأعتقد مشكلته عندك كما شرحت لك سابقا ... وهنا رفعت لك الملف بصيغ مختلفه مع ملف شرح طريقة تشغيل الماكرو كما ذكرتها لك

دالة التفقيط مع طريقة فتح الملف .rar

  • Like 1
رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information