How To Master Arrays In Excel VBA + FREE MACROS & CHEAT SHEET

Поділитися
Вставка
  • Опубліковано 24 лип 2024
  • 🎁 SAVE UP TO 40% IN JULY 2024 DURING OUR BIRTHDAY CELEBRATION ► rebrand.ly/7thAnniv_YTDesc
    🔥 GET THIS + 350 OF MY BEST DONE-FOR-YOU TEMPLATES HERE ► rebrand.ly/350Wkbks_YTDesc
    📚 GET A DISCOUNTED DEVELOPERS LIBRARY HERE ► rebrand.ly/UDVL_YTDesc
    🤖BRING AI INTO EXCEL WITH THIS INCREDIBLE ADD-IN ► rebrand.ly/AIToolpack_YTDesc
    👉CREATE & SELL EXCEL BASED SOFTWARE IN MY MENTORSHIP PROGRAM ► rebrand.ly/MentorshipProgram_...
    ▶️ GET ACCESS TO OVER 100 UPDATED TRAININGS, WORKBOOKS & PDF CODEBOOKS: rebrand.ly/Patreon_YTDesc
    👨‍💼BECOME AN EXPERT AT DASHBOARDS ► rebrand.ly/ExcelDashboard_YTDesc
    📣START LEARNING VBA HERE ► rebrand.ly/VBAEFFDan_YTDesc
    🏝BECOME A SUCCESSFUL FREELANCER ► rebrand.ly/FreelancersAcademy...
    ⭐️JOIN UA-cam MEMBERS FOR UNRELEASED TRAININGS ► rebrand.ly/YTMembership_YTDesc
    In this tutorial, I will show you everything you need to know about how to use the powerful arrays feature in Excel VBA. We will write code and walk through all of the necessary features of Arrays.
    ⬇DOWNLOAD THIS WEEK'S WORKBOOK TEMPLATE HERE:
    bit.ly/MstrngArryInVBA_WkbkDl
    🤑 START EARNING BIG $$$ WITH MY AFFILIATE PROGRAM 👉 rebrand.ly/Affiliate_YTDesc
    EXCEL COURSES:
    ►FREELANCER ACADEMY: rebrand.ly/FreelancersAcademy...
    ►MENTORSHIP PROGRAM: rebrand.ly/MentorshipProgram_...
    ►DASHBOARD MASTERCLASS: rebrand.ly/ExcelDashboard_YTDesc
    ►BEGINNERS VBA COURSE: rebrand.ly/VBAEFFDan_YTDesc
    ►WEB AUTOMATION COURSE WITH EXCEL VBA: rebrand.ly/WebAuto_YTDesc
    EXCEL PRODUCTS:
    ►Turbocharge Your App Development: rebrand.ly/UDVL_YTDesc
    ►Get 350 Templates In 1 Zip File: rebrand.ly/350Wkbks_YTDesc
    ►Get ChatGPT Into Excel With This Addin: rebrand.ly/AIToolpack_YTDesc
    ►The Ultimate Excel Resource Guide: rebrand.ly/UERG_YTDesc
    ►Get Your Actual Employee Hourly Cost: rebrand.ly/LBC_YTDesc
    ►1000 Incredible Freelancing Resources: rebrand.ly/UFRG_YTDesc
    🧐Find the Best Excel Products & Courses Here: rebrand.ly/ExcelProductsAndCo...
    Timestamps:
    0:00 - Introduction
    1:15 - What Is An Array?
    3:52 - Basic One Dim Array
    7:49 - Static Array String
    10:38 - Dynamic Array
    14:21 - Dynamic Bounds Array
    18:20 - Parse Text Array
    23:51 - Find Value In 2D Array
    JOIN OUR COMMUNITY:
    ►Facebook Group: rebrand.ly/EFF_Group
    ►Facebook Fan Page: rebrand.ly/EFF_FanPage
    Follow me on my Social Media Accounts:
    🤩TikTok: / excel4freelancers
    🐦Twitter: / excel4freelance
    🌏Website: www.ExcelForFreelancers.com
    🔗LinkedIn: / excelforfreelancers
    👤Facebook: / excelforfreelancers
    📸 Instagram: / excelforfreelancers
    🎥Rumble: rumble.com/c/ExcelForFreelancers
    ✉Telegram: t.me/ExcelForFreelancers
    About Us:
    I help Microsoft Excel enthusiasts turn their passion into profits so they can earn passive income using their skills without having to trade time for money.
    I love making these videos for you each and every week. A great way of supporting Excel For Freelancers to keep this training free each and every week is by supporting us through one of the amazing products offered that will help you skyrocket your Excel Skills and reach your dreams.
    Get Alerted IMMEDIATELY with new Free Training Videos & Workbook by subscribing here:
    👉 / excelforfreelancers
    New Training Video Uploaded Every Tuesday And Saturday!
    Thank you very much for your continued support,
    Randy Austin
    #ExcelVBA #Arrays #VBAArrays #ArraysInVBA #ExcelArrays

КОМЕНТАРІ • 43

  • @ExcelForFreelancers
    @ExcelForFreelancers  2 місяці тому

    🎉 7th Anniversary Sale: Save Big This July 2024! ► rebrand.ly/7thAnniv_YTPinnedCom

  • @Info-God
    @Info-God 3 місяці тому +4

    Arrays and loops are fundamental for advanced programming.

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      Absolutely, one of my favorites. Thanks so much for sharing

  • @SyedMuzammilMahasanShahi
    @SyedMuzammilMahasanShahi 3 місяці тому +4

    Thank you so much Randy for this amazing video.

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      For sure, you are very welcome Syed and thanks so much for your continued support

  • @enrikekasijas705
    @enrikekasijas705 3 місяці тому +4

    Arrays are the sickest and hardest elements 😂❤❤❤ can't wait!!!

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому +1

      Great, thanks so much and I am happy to help and share

    • @Info-God
      @Info-God 3 місяці тому +2

      Once you master Array you"ll need to learn Class for arrays (dynamic classes for arrays) , then Dictionary.

  • @ashokanselliah9571
    @ashokanselliah9571 3 місяці тому +1

    Thank you very much Randy Sir for the wonderful explanation on the arrays

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      For sure, you are very welcome and I am happy to help and share

  • @ElectromecanicaIndustrial
    @ElectromecanicaIndustrial 3 місяці тому +4

    Learning arrays to optimize my VBA code

    • @Info-God
      @Info-God 3 місяці тому +1

      You must be very well organized from very begining to be able to use arrays. That's the trick.

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      Great, thanks so much. I am happy to help and share

  • @mansoormohammed8718
    @mansoormohammed8718 3 місяці тому +1

    I subscribed and purchased one of your courses. You have a lot to give. You are an example of an individual who loves doing good and helping others. Congratulations on your wonderful soul

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      Thank you so very much, I really appreciate that and I am really glad you enjoy the content and courses.

  • @vannhiem8021
    @vannhiem8021 3 місяці тому +1

    Great! May you make a file for QA manager in a factory 🏭

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому +1

      Hi and thanks so much. This would be a custom job since its very specific. If you would like some help with this, we have a group with 60,000 Excel experts who would love the opportunity to customize this for you. Please join our Excel For Freelancers Facebook Group here: bit.ly/groupexcel (if you have not done so yet)
      You can then create a post and mark it as a PAID JOB, along with all of the details and requirements. Our members can then contact you and decide on how to best move forward with your project.
      I hope this helps and thanks so much.

  • @designexperience
    @designexperience 3 місяці тому +1

    Thank you Randy I'll try them...

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      For sure, you are very welcome and happy to help and share

  • @enrikekasijas705
    @enrikekasijas705 3 місяці тому +2

    Great introduction to Arrays!!!😂❤❤❤ Thank you ❤

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      Thank you so very much, I really appreciate that and glad you enjoyed the training.

  • @akkintouch
    @akkintouch 3 місяці тому +1

    Thanks Randy as always great content.
    Possible to explain the filter array in Patreon?

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому +1

      Thanks so much. Yes its certainly possible. I checked it out and seemed a bit complicated for one of our Basic VBA tutorials but I will try to get it added into one of the more advanced lessons. Thanks for your continued support over the years.

  • @henkvinck888
    @henkvinck888 3 місяці тому +1

    amazing video THNX Randy

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      Thank you so very much, I really appreciate that and glad you enjoyed the training

  • @pablomoreno2192
    @pablomoreno2192 3 місяці тому

    Are you planning to do videos of applications that work with office scripts? There is a real need of using applications for excel for the web and also application that can be run by multiple users at the same time (vba workbooks that are used at the same time by multiple users can give errors), and office scripts is the tool to avoid these inconveniences

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      Hi and thanks. I would love to for sure, however Office Scripts are nowhere near being ready for that. For example worksheet/workbook change events and selection events do not exist in scripts as of yet, so as soon as the power is up to the VBA level I will be creating videos for scripts aw well. I hope this helps and thanks so much.

  • @alializadeh8195
    @alializadeh8195 3 місяці тому +1

    Thanks

  • @andrewmatt7731
    @andrewmatt7731 2 місяці тому +1

    In the 2DArray example, why are we able to omit the '()' parenthesis in the 'Dim TwoDArr as Variant' line? I am thinking it has something to do with the data type, 'Variant'.

    • @ExcelForFreelancers
      @ExcelForFreelancers  2 місяці тому +1

      Yes that is correct, as a variant, its a much more flexible variable than the others. Strings, Long or other variables need to be specified. Thank you for your Likes, Shares & Comments. It really helps.

  • @Info-God
    @Info-God 3 місяці тому +2

    Dictionaries are another type of arrays.
    Listarrays is another powerful type of arrays.

  • @meka811
    @meka811 3 місяці тому +1

    Thank for you Randy for this excellent Video, I enjoyed learning about arrays,, but I am about to ask a crazy question,,, what font do you use for your vba coding?

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому +1

      Hi and thanks for your support. Its a nice question. I was not sure, so I had to look it up. its Arial (Western) Font Size 16.
      I hope this helps and thanks so much.

  • @andrewt207
    @andrewt207 3 місяці тому +1

    Excellent run through. I need to have a play with Arrays in VBA ... familiar with them in C/Python so this should be interesting.
    One question (I'm probably being dim) - in Sub DynamicBoundsArray(), why is the RowNumb = 34? The array is length 30, first (Excel) row 4 and last 33 (so not a +1 because it is zero to ...) why isn't it 33 as this is the final row processed [RowNumb = 4 to 33]?

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      HI and thanks, the item in an array is counted as 0 if its not specified so therefore the rows should always be 1 more than the array value. I hope this helps and thanks so much.

  • @Info-God
    @Info-God 3 місяці тому

    Once you master Array you"ll need to master Class for arrays (dynamic classes for arrays) , then Dictionary.

  • @venkateshreddy992
    @venkateshreddy992 3 місяці тому +1

    Hi sir. I have a problem in excel
    I have data that was downloaded from a software which is totally web based. In that excel all values are in text format including dates. If I give f2+enter that text will turn to proper date. But the problem is there are a lot of cells like in thousands. I tried converting to CSV. It works sometimes and sometimes it make the date to us format. Like 1/4/24 (1st April) will become 4th jan 24. Is there any VBA code that you can suggest to solve that issue

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому

      Hi , Thanks for your comment. It would be difficult for us to help unless we see the specific bug you are running into. Can you upload screenshots of your bug and sheet into our Excel For Freelancers Facebook Group here: bit.ly/groupexcel We have 60,000 Members who would love to help you with this. Thanks so much.

  • @Jojosmith342
    @Jojosmith342 3 місяці тому +1

    PLEASE SUBSCRIBE !! SUBSCRIBE TO RANDY'S HARD WORK, THE BEST VBA TEACHER ON UA-cam. Thumbs up 👍to his passion & dedication to teach. Thanks Randy for another excellent, valuable tutorial. God bless you!

    • @ExcelForFreelancers
      @ExcelForFreelancers  3 місяці тому +1

      Thank you so very much, I really appreciate that Jojo, so very kind of you. Thank you for your Likes, Shares & Comments. It really helps.