Free Excel VBA Course #26 - Using Arrays in VBA

  Рет қаралды 40,314

TrumpExcel

TrumpExcel

4 жыл бұрын

In this video, I will show you how to work with arrays in Excel VBA.
The video will show you how to work with arrays and combine it with loops to get some advanced stuff done.
✅ Download File: bit.ly/vbacourse-26
☕ If you find my Excel videos useful and would like to support me, you can buy me a coffee - www.buymeacoffee.com/SumitB
Free Excel Course (Basic to Advanced) - trumpexcel.com/learn-excel/
Best Excel Books: trumpexcel.com/best-excel-books/
Subscribe to get awesome Excel Tips every week: kzbin.info...
#Excel #ExcelTips #ExcelTutorial

Пікірлер: 47
@nisarshaikh
@nisarshaikh 2 жыл бұрын
You have greatest teaching skills...amazing and biggest thing is you giving it FREE of cost. stay healthy,stay happy
@sumit7977
@sumit7977 2 жыл бұрын
yes…its really helpful
@dominicreevantopno6514
@dominicreevantopno6514 3 жыл бұрын
Amazingly beautiful language in which you explained the Array with perfect clarity... thanks!
@Copithorne1
@Copithorne1 3 жыл бұрын
Best video I've viewed explaining Excel VBA Arrays. Thanks for including the Excel file.
@nareshkumar9647
@nareshkumar9647 Жыл бұрын
Awesome explanation of array. You made it simple to understand. Thanks a lot.
@marcellosulas1302
@marcellosulas1302 3 жыл бұрын
Thank you bro. Very clear and concise the way you explained. I had an issue which you just resolved! I have Subscribed
@user-iw6tq9nq9h
@user-iw6tq9nq9h Жыл бұрын
Very well explained and great examples. This man is a genius and a great teacher
@trumpexcel
@trumpexcel Жыл бұрын
Thank you so much for the kind words 🙏
@mikedeboer
@mikedeboer 2 жыл бұрын
This helped me greatly with my understanding of arrays. Thank you.
@rakeshthakur9403
@rakeshthakur9403 Жыл бұрын
Really very nice video
@margad-erdeneboldbaatar4704
@margad-erdeneboldbaatar4704 2 жыл бұрын
Thanks so much.
@amitbhatt5394
@amitbhatt5394 2 жыл бұрын
beautifully explained....I was in search of such specific video on arrays. Thanks..
@jk501111
@jk501111 3 жыл бұрын
From my understanding at approx 7:00 the best practice is to Erase CompanyName i.e. erase the array variable. Erase acts much like Unload Me.. although, it may not be a big deal, it's supposed to release memory. Thank you for the tutorial!
@franciskiap4552
@franciskiap4552 3 жыл бұрын
Thankyou sir for this detailed video of using arrays in vba.
@manishkumarchd
@manishkumarchd 3 жыл бұрын
Thank you Sumit for detailed information.;
@Aula-hd7dv
@Aula-hd7dv 2 жыл бұрын
This video is super useful, I appreciate it very much, keep doing these videos. Thank you.
@trumpexcel
@trumpexcel 2 жыл бұрын
Glad the video helped :)
@rahillakhan3751
@rahillakhan3751 8 ай бұрын
Excellent Tutorial! Thank you.
@68team
@68team 2 жыл бұрын
A lot thankyou, Now have no doubt in array ✅
@mtotowamungu8259
@mtotowamungu8259 4 жыл бұрын
Very well explained, thank you very much.
@trumpexcel
@trumpexcel 4 жыл бұрын
Glad you found the video useful!
@veebee3969
@veebee3969 3 жыл бұрын
Very good video. Thank You.
@Vinmam1231
@Vinmam1231 2 жыл бұрын
Stay blessed sir
@chriswietlispach1498
@chriswietlispach1498 2 жыл бұрын
nicely done!
@EngineerNhu
@EngineerNhu 4 жыл бұрын
Hello sumit.. i am your no. 1 fan, can you make tutorial of the difference between Row, Rows, column, columns, Cell, Cells, worksheet, worksheets. etc .. thanks you so much
@tanjidirfan4833
@tanjidirfan4833 3 жыл бұрын
Excellent Video
@abdullahmersal8423
@abdullahmersal8423 2 жыл бұрын
god bless you man 💕
@rakeshthakur9403
@rakeshthakur9403 Жыл бұрын
Nice video
@vijaysahal4556
@vijaysahal4556 4 жыл бұрын
good 👍👍👍👍
@alializadeh8195
@alializadeh8195 2 жыл бұрын
Thanx
@richardgreves6161
@richardgreves6161 4 жыл бұрын
Thanks Sumit. This is awesome! I have a question though. You used two separate loops. One for reading the data from the sheet and another for writing the data to a different area. Couldn't you have done both in the same loop?
@callanrafael1658
@callanrafael1658 3 жыл бұрын
i know I'm quite randomly asking but do anybody know of a good place to watch new tv shows online?
@naiduvikas202
@naiduvikas202 2 жыл бұрын
Hi great videos and crystal clear Could please 🙏 solve the this error Dim j as variant, J= Array(cells(1, 10), cells(1, 20)). When watch this code in local window getting typescript error could please help me out of error.
@vedpatel3231
@vedpatel3231 4 жыл бұрын
Good but you should make a video about the functions before you use it (e.g redim)
@tansinghrathore4572
@tansinghrathore4572 3 жыл бұрын
Can you please explain how to use array of array in VBA? this is my logic. i have multiples arrays that stores rows value like arrRow1 ,arrRow2 ,arrRow3 so now i want to store these arrays in a one array that is arrTable[arrRow1 ,arrRow2 ,arrRow3]. If I want to access any value then I'll use arrTable[0][1]:- 0 for arrRow1 and the one for the arrRow[1] how its possible in Vba.
@nadermounir8228
@nadermounir8228 4 жыл бұрын
In the offset u mention it is not clear where the negative sign comes from. If we use 1,0 then 2,0 etc so why do u write -1 ? May please clarify this part ? This is also repeated when using offset. dimension 1 and dimension 2, -1 was also used 🤔🤔
@archanaaa2514
@archanaaa2514 4 жыл бұрын
Sir, is Vba still in demand in 2020?
@mohammadirkanansari671
@mohammadirkanansari671 3 жыл бұрын
sir you great but if you are indain please take hindi audio for indian please 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@umamaheshk6151
@umamaheshk6151 3 жыл бұрын
sir, I have some doubts. How can I reach you?
@akheeshkm8969
@akheeshkm8969 2 жыл бұрын
I am unable to pay you from India. I have some queries on array. How can I contact you?
@RobertBCarl
@RobertBCarl 3 жыл бұрын
Well explained, however the graphics are barely legible.
@nadermounir8228
@nadermounir8228 4 жыл бұрын
In minutes 10 u used offset (counter -1,0) . Why dit u use -1. It is not clear really?
@bhoopeshsharma9100
@bhoopeshsharma9100 3 жыл бұрын
here range ("a2") is activecell and In offset (x,y) here x = 1,y=1 means lower bound element start from 1 Then range ("a2"). offset (1,1). value will be store in range ("b3") as "Sinopec" so this will be wrong Now here we want to store value in range ("a2") then we need (-1) bcz here lower bound element start from 1 not from 0 If lower bound element from 0 then No need minus1(-1)
@ishrafilansari2241
@ishrafilansari2241 3 жыл бұрын
Sub arrays() Dim names() As String Dim dimensions1 As Long Dim j As Long dimensions1 = Range("a1", Range("a1").End(xlDown)).Cells.count ReDim names(1 To dimensions1) For j = 1 To dimension1 names(j) = Range("a1").Offset(j - 1, 0).Value Next j End Sub sir i am face very problem to solve this dyanamic array please help me
@ishrafilansari2241
@ishrafilansari2241 3 жыл бұрын
please help to solve this problem
@vipinsingh075
@vipinsingh075 Жыл бұрын
@@ishrafilansari2241 the only thing wrong in this code is that you have not used proper variable in the line For j = 1 To dimension1 it should be For j = 1 To dimensions1 you were missing an "s" just before the Dimensions.
#️⃣ Dynamic Arrays in Excel - This Changes Everything!
17:12
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 65 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 13 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 134 МЛН
Excel VBA: Use Dynamic Arrays to Transfer Data and Build Dynamic Reports
37:43
Skills and Automation
Рет қаралды 10 М.
Excel VBA Introduction Part 25 - Arrays
1:00:24
WiseOwlTutorials
Рет қаралды 227 М.
Watch these 28 minutes if you want to become an Advanced VBA user...
29:01
Excel Macro Mastery
Рет қаралды 51 М.
Excel VBA: Practical Guide to Start Using Dictionary [4 Awesome Examples]
25:47
10 Years of VBA Array Knowledge in 40 Mins
41:57
Excel Macro Mastery
Рет қаралды 15 М.
How To Master Arrays In Excel VBA + FREE MACROS & CHEAT SHEET
29:09
Excel For Freelancers
Рет қаралды 7 М.
How to Use Nested Dictionaries in VBA
8:58
Excel Macro Mastery
Рет қаралды 14 М.
Excel VBA Arrays For Beginners
14:40
Tiger Spreadsheet Solutions
Рет қаралды 10 М.