Загрузка страницы

Excel VBA: Loop through cells inside the used range (For Each Collection Loop)

Get the complete course here: https://courses.xelplus.com/p/excel-vba-excel-macros

In this video we do a mini project where we count the number of cells that contain formulas on our worksheet. We do this with Excel VBA with the help of the For Each Collection loop.

This allows us to loop through each cell inside the used range of the worksheet and check with the help of the IF statement whether or not we come across a formula cell. Here we use the HasFormula property of the range object. We then use a variable to keep this number in memory.

★★ Links to related videos: ★★
Copy/Paste in Excel VBA: https://youtu.be/p4ViTxIl0E0
Referencing Ranges with VBA: https://youtu.be/acGJb9Oojho
Learn about Visual Basic Editor: https://youtu.be/NpvvwrdDcQk
Recording macros: https://youtu.be/8IreWUk1Al4
Properties & methods in VBA: https://youtu.be/uYHrzo2gzbo

★ My Online Excel Courses ★

Courses ► https://courses.xelplus.com/

✉ Subscribe & get my TOP 10 Excel formulas e-book for free
https://www.xelplus.com/free-ebook/

EXCEL RESOURCES I Recommend: https://www.xelplus.com/resources/

Get Office 365: https://microsoft.msafflnk.net/15OEg
Microsoft Surface: https://microsoft.msafflnk.net/c/1327040/451518/7593

GEAR
Camera: https://amzn.to/2FLiFho
Screen recorder: http://techsmith.pxf.io/c/1252781/347799/5161
Microphone: https://amzn.to/2DVKstA
Lights: http://amzn.to/2eJKg1U

Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!

#ExcelVBA

Видео Excel VBA: Loop through cells inside the used range (For Each Collection Loop) канала Leila Gharani
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
25 апреля 2018 г. 1:10:35
00:07:31
Яндекс.Метрика