Lesson 134 - Error Handling ( Dealing with Run Time Error ) - Free Excel VBA Course
Автор: المهندس محمد يوسف عرموش
Загружено: 2025-06-24
Просмотров: 109
تعتبر معالجة الأخطاء الممكن حدوثها ضمن الأكواد أحد أهم الأركان الأساسية لبرمجة الإكسل بل ولكل لغات البرمجة ، ولكي تكون مبرمجاً محترفاً بالإكسل فلا يجب بأي حال من الأحوال أن يُظهر برنامج الإكسل الذي تكتبه رسالة خطأ من نوع runtime error ، فهذا يُعتبر ضعفاً في برنامجك وتفقد ثقة عملائك الذين يستخدمون برامجك.
وبهذا الفيديو سأعلمكم كيف تقومون بمعالجة الأخطاء من نوع runtime error بشكل احترافي وتمنعون ظهور أي رسالة خطأ من هذا النوع.
===============================
بعض الإختصارات المفيدة ضمن محرر الأكواد VBE :
Debugging :
Compile the code : Alt + D + L Or Alt + D + Enter
Run the code from the current sub : F5
Step into the code line by line : F8
Add a breakpoint to pause the code : F9 (or click left margin)
Windows :
View the Immediate Window : Ctrl + G
View the Watch Window : Alt + V + H
View the Properties Window : F4
Switch between Excel and the VBA Editor : Alt + F11
View the Project Explorer Window : Ctrl + R
Writing Code :
Search keyword under cursor : Ctrl + F3
Search the word last searched for : F3
Auto complete word : Ctrl + Space
Get the definition of the item under the cursor : Shift + F2
Go to the last cursor position : Ctrl + Shift + F2
Get the current region on a worksheet : Ctrl + Shift + 8 or (Ctrl + *)
To move lines of code to the right ( indent ) : Tab
To move lines of code to the left( outdent ) : Shift +Tab
(Delete a line : Ctrl + Y (note : this clears the clipboard
----------------------------------------------------------------------------------------
صفحتي على الفيسبوك
https://www.facebook.com/profile.php?...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: