Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Use Arrays Instead of Ranges in Excel VBA
ChannelExcel Macro MasteryDescription from the creator
Learn how to write real-world Excel VBA code: 👉courses.excelmacromastery.com/
FREE CHEAT SHEET: Get the free cheat sheet on VBA arrays here: (bit.ly/2MXsnz9)
Subscribe to the channel here: bit.ly/36hpTCY
How to Use Arrays Instead of Ranges in Excel VBA
Most people don't realise that Arrays are exponentially faster than Ranges in Excel VBA.
In this video I cover in detail how to replace ranges with arrays and make your code run faster.
Useful VBA Shortcut Keys:
View the Immediate Window: Ctrl + G
View the Watch Window: Alt + V + H
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 + G: view the Immediate Window
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.
F8: Step into the code.
F9(or click left margin): Add a breakpoint to pause the code.
FREE CHEAT SHEET: Get the free cheat sheet on VBA arrays here: (bit.ly/2MXsnz9)
Subscribe to the channel here: bit.ly/36hpTCY
How to Use Arrays Instead of Ranges in Excel VBA
Most people don't realise that Arrays are exponentially faster than Ranges in Excel VBA.
In this video I cover in detail how to replace ranges with arrays and make your code run faster.
Useful VBA Shortcut Keys:
View the Immediate Window: Ctrl + G
View the Watch Window: Alt + V + H
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 + G: view the Immediate Window
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.
F8: Step into the code.
F9(or click left margin): Add a breakpoint to pause the code.
About this tutorial
Excel Macro Mastery published this 10:20 video tutorial on November 30, 2019. It has been watched 226,443 times on YouTube.
- Channel
- Excel Macro Mastery
- Category
- Education
- Duration
- 10:20
- Published
- November 30, 2019
- Views
- 226,443
- Likes
- 5,953
Tags
Share
This tutorial in other languages
- FRComment utiliser des tableaux au lieu de fourchettes dans Excel VBA
- ESCómo utilizar matrices En lugar de rangos en Excel VBA
- PTComo usar Arrays Em vez de intervalos em Excel VBA
- ITCome utilizzare le matrici Invece di intervalli in Excel VBA
- DEWie zu verwenden Arrays Statt Rang in Excel VBA
- NLHoe gebruik te maken Arrays In plaats van Ranges in Excel VBA
- RUКак использовать массивы Вместо того, чтобы диапазоны в Excel VBA
- PLJak korzystać z tablic zamiast zakresów w Excel VBA
- JAどのように配列を使用する代わりのエクセルVBAで範囲に
- ARكيفية استخدام المصفوفات بدلا من النطاقات في Excel VBA
- HIकैसे उपयोग सरणी के बजाय एक्सेल VBA में सीमाओं को
- IDCara Penggunaan Array Daripada Ranges di Excel VBA