filmov
tv
7 Simple Practices for Writing Super-Readable VBA Code
Показать описание
👉 Ready to master VBA?
(Note: If the download page doesn't work then make sure to turn off any popup blockers)
7 Simple Practices for Writing Super-Readable VBA Code
Having readable code is vital. It makes understanding your code easy to update and easy to understand.
But most important of it will slash the number of errors in your code. You can waste a lot of time fixing errors so this is very important.
In this video I show 7 simple techniques that will make your code readable.
Useful VBA Shortcut Keys:
Tab: To move lines of code to the right(Indent).
Shift + Tab: To move lines of code to the left(Outdent).
Shift + F2: Get the definition of the item under the cursor.
Ctrl + Shift + F2: Go to the last cursor position.
Ctrl + Space: AutoComplete Word.
Alt + F11: Switch between Excel and the VBA Editor.
Ctrl + R: View the Project Explorer Window.
Ctrl + Shift + 8(or Ctrl + *): Get the current region on a worksheet.
F4: View the Properties Window.
F5: Run the code from the current sub.
F9(or click left margin): Add a breakpoint to pause the code.
(Note: If the download page doesn't work then make sure to turn off any popup blockers)
7 Simple Practices for Writing Super-Readable VBA Code
Having readable code is vital. It makes understanding your code easy to update and easy to understand.
But most important of it will slash the number of errors in your code. You can waste a lot of time fixing errors so this is very important.
In this video I show 7 simple techniques that will make your code readable.
Useful VBA Shortcut Keys:
Tab: To move lines of code to the right(Indent).
Shift + Tab: To move lines of code to the left(Outdent).
Shift + F2: Get the definition of the item under the cursor.
Ctrl + Shift + F2: Go to the last cursor position.
Ctrl + Space: AutoComplete Word.
Alt + F11: Switch between Excel and the VBA Editor.
Ctrl + R: View the Project Explorer Window.
Ctrl + Shift + 8(or Ctrl + *): Get the current region on a worksheet.
F4: View the Properties Window.
F5: Run the code from the current sub.
F9(or click left margin): Add a breakpoint to pause the code.
Комментарии