Excel Macro Mastery
Excel Macro Mastery
  • Видео 89
  • Просмотров 5 784 622
10 Years of VBA Array Knowledge in 40 Mins
Learn how to write real-world Excel VBA code: 👉courses.excelmacromastery.com/
Want to download the source code for this video? Go here: shorturl.at/nMnc6
(Note: If the download page doesn't work then make sure to turn off any popup blockers)
Subscribe to the channel here: bit.ly/36hpTCY
"10 Years of VBA Array Knowledge in 40 Mins"
Arrays are possibly the most important element of Excel VBA.
Not only do arrays make your code more readable, they also allow you to process data thousands of times faster than using Ranges. If you haven't used arrays before then you may be intimidated by them. But don't worry - In this video, I will distil years of VBA knowledge and experience into a set of simple s...
Просмотров: 11 046

Видео

I Made this VBA Code 2,880,952% faster
Просмотров 24 тыс.Месяц назад
Want to improve your Excel VBA skills fast? Go here: ▸courses.excelmacromastery.com/ Want to download the source code for this video? Go here: shorturl.at/ltxLZ Subscribe to the channel here: bit.ly/36hpTCY I Made this VBA Code 2,880,952% faster A user recently sent me Excel VBA code that was taking 6 hours to run and asked if I could somehow improve the speed. In this video I show how I made t...
How to Create a UserForm Like a Pro
Просмотров 15 тыс.4 месяца назад
How to Create a UserForm Like a Pro Creating UserForms in VBA should not be that complicated. However, there are lots of pitfalls for the unwary. For example 1. How do you retrieve a value after the userForm closes? 2. How do you avoid automation errors if the error cancels using X? 3. How do you stop a modeless UserForm from disappearing? 4. How do you pass the initial settings to the UserForm...
25 Nooby VBA Habits You Need to Ditch Right Now
Просмотров 21 тыс.5 месяцев назад
25 Nooby VBA Habits You Need to Ditch Right Now Unlock the full potential of your VBA skills by breaking free from these 25 common nooby habits! 🚀 In this video , we look at the Excel VBA habits that may be holding you back and show you what to do instead. Whether you're a beginner or an experienced user, ditching these habits will boost your productivity and make you a VBA pro in no time. From...
How to Customize Controls in Excel VBA
Просмотров 12 тыс.6 месяцев назад
How to Customize Controls in Excel VBA In this video, I show you how you can customize controls on UserForms. If a control does not have the behavior you like then you can easily add it. The best part is that once you have created this behavior you can apply it to any control you wish with just a couple of lines of code. The see the benefits of customizing controls I will show you a real-world ...
Can This Code Be Saved? | VBA Code Audit
Просмотров 11 тыс.7 месяцев назад
Can This Code Be Saved? | VBA Code Audit In this video I review the code submitted by my customers. Watch this video if you want to improve your own code. This video is packed with tips and techniques for writing clean and efficient code. #ExcelVBA #VBACodeReview #VBACodeAudit SUBSCRIBE TO THE CHANNEL: bit.ly/36hpTCY Learn how to build Excel VBA Applications the right way using best practices a...
How to Use Nested Dictionaries in VBA
Просмотров 14 тыс.7 месяцев назад
How to Use Nested Dictionaries in VBA #ExcelVBALoops #VBADoUntil #VBADoWhile SUBSCRIBE TO THE CHANNEL: bit.ly/36hpTCY Learn how to build Excel VBA Applications the right way using best practices and proven techniques The Excel VBA Handbook Course(TheExcelVBAHandbook.com) Mentioned in the video: Using Web APIs video: ruclips.net/video/KZeYKZJzQIk/видео.htmlsi=G5mSmUeGIzkie50s Dictionary Playlist...
How to Master VBA loops FAST (with real coding examples)
Просмотров 21 тыс.8 месяцев назад
Learn how to write real-world Excel VBA code: 👉courses.excelmacromastery.com/ Subscribe to the channel here: bit.ly/36hpTCY How to Master VBA loops FAST (with real coding examples) VBA has 4 types of loops and one of these loops can be written in 4 ways. This leads to a lot of confusion. In this video I am going to show you exactly what each loop is for and when to use it and which loops you ca...
How I Made 2 VBA Applications Run Ultrafast
Просмотров 52 тыс.9 месяцев назад
How I Made 2 VBA Applications Run Ultrafast In this video, I take two extremely slow Excel VBA applications and I make them run in under a second. First of all, I will show you how long they take to run and then I will show you the steps to make them increase their speed exponentially. If your VBA applications are running slowly then this video is for you. #ExcelVBA #VBASlowCode #VBACodeFast SU...
VBA Unleashed: Send Customized Emails in One Line
Просмотров 10 тыс.11 месяцев назад
VBA Unleashed: Send Customized Emails in One Line In this video, we're going to show you how to send fully customizable emails from VBA (Visual Basic for Applications) with just one line of code. If you're tired of spending hours configuring VBA email code for each scenario, then this tutorial is for you. First I cover how to create and configure emails in Excel VBA and then I show you how to d...
How to Create Add-To-Cart Animation in VBA
Просмотров 7 тыс.Год назад
How to Create Add-To-Cart Animation in VBA Welcome to our channel! In this tutorial, we'll dive into the world of VBA (Visual Basic for Applications) and guide you through the process of creating an impressive Add-To-Cart animation using VBA in Microsoft Excel. VBA is a powerful programming language that allows you to automate tasks, enhance functionality, and create interactive features within...
Class Modules in VBA: Made Super Simple
Просмотров 30 тыс.Год назад
Class Modules in VBA: Made Super Simple Class Modules are the biggest stumbling block for users trying to move to the next level in VBA. Many people struggle to grasp what they are for, when to use them and how to use them in their own code. In this video I am going to show you with real-world examples, How any one can use Class Modules in their code. #ExcelVBA #VBAClassModules #ClassModules SU...
Copying Data from User Selected Files Using GetOpenFilename
Просмотров 18 тыс.Год назад
Copying Data from User Selected Files Using GetOpenFilename In this video I show how to use the GetOpenFilename function to allow users to select the file to open. Then once the file is selected I show how to copy the data from this file to our current workbook. Most tutorials stop there but I will show you how to optimize this code so that if you are doing serious data analysis you have the fa...
How to use Custom Types To Write Ultra Fast VBA code
Просмотров 29 тыс.Год назад
How to use Custom Types To Write Ultra Fast VBA code One of the powerful features of VBA is the ability to create user-defined types. User-defined types, also known as custom types, are data structures that can hold multiple pieces of data of different data types. They allow developers to create their own data types that are tailored to the specific needs of their application. By defining custo...
Enums(Enumeration): The Key to Cleaner, More Efficient VBA Code
Просмотров 29 тыс.Год назад
Enums(Enumerations): The Key to Cleaner, More Efficient VBA Code Enums(Enumerations) are a simple but incredibly useful feature of VBA. Despite their simplicity, most users are not sure how to use them and therefore avoid them. In this video, I will cover everything you need to know about enums such as: * What are they * Why You need them * Examples of how to use them * A Good naming convention...
How to use ChatGPT to maximize your VBA skills
Просмотров 26 тыс.Год назад
How to use ChatGPT to maximize your VBA skills
Watch these 28 minutes if you want to become an Advanced VBA user...
Просмотров 50 тыс.Год назад
Watch these 28 minutes if you want to become an Advanced VBA user...
How to Master the VBA Message Box in 6 Minutes
Просмотров 39 тыс.Год назад
How to Master the VBA Message Box in 6 Minutes
How to use Early and Late Binding the right way!
Просмотров 11 тыс.Год назад
How to use Early and Late Binding the right way!
How to Combine Multiple Excel Files using Power Query
Просмотров 16 тыс.Год назад
How to Combine Multiple Excel Files using Power Query
How to Combine Multiple Excel Files using VBA
Просмотров 32 тыс.Год назад
How to Combine Multiple Excel Files using VBA
Sports Fixtures Generator - A Real-World VBA Application
Просмотров 12 тыс.Год назад
Sports Fixtures Generator - A Real-World VBA Application
The Ultimate Guide to Copying Data using Excel VBA
Просмотров 62 тыс.Год назад
The Ultimate Guide to Copying Data using Excel VBA
5 Amazing VBA Split Examples
Просмотров 15 тыс.2 года назад
5 Amazing VBA Split Examples
VBA Arrays Explained in 3 Minutes
Просмотров 32 тыс.2 года назад
VBA Arrays Explained in 3 Minutes
How to Return from a Function in 2 Minutes
Просмотров 17 тыс.2 года назад
How to Return from a Function in 2 Minutes
The Easiest Way to Scrape Web Data with VBA
Просмотров 104 тыс.2 года назад
The Easiest Way to Scrape Web Data with VBA
Master VBA Debugging in 20 Minutes
Просмотров 35 тыс.2 года назад
Master VBA Debugging in 20 Minutes
Which is the Fastest VBA Method For Reading Tables?
Просмотров 42 тыс.2 года назад
Which is the Fastest VBA Method For Reading Tables?
Use this Proven Method to Create Any Class Module
Просмотров 26 тыс.2 года назад
Use this Proven Method to Create Any Class Module

Комментарии

  • @mkaberli614
    @mkaberli614 23 часа назад

    How did you get the VBA in excel? Did you skip that part?

  • @ElGordoFreeman
    @ElGordoFreeman 2 дня назад

    Those are suggestions! Some of them are better than others.

  • @kcerny43
    @kcerny43 2 дня назад

    It's a pure pleasure to work with your tutorials.

  • @nadermounir8228
    @nadermounir8228 2 дня назад

    Thank you paul for this nice video. I am already taken your VBA effective course

  • @emililie2244
    @emililie2244 4 дня назад

    Thank you. I learned a lot.

  • @Dexter101x
    @Dexter101x 4 дня назад

    I don't mind the longer format, but would like shorter ones as well Is there something wrong with using xlDown as oppose to xlUp?

    • @Excelmacromastery
      @Excelmacromastery 4 дня назад

      It will stop at a blank row if searching from the top.

  • @karibeauchamp4358
    @karibeauchamp4358 4 дня назад

    You have made this subject... So easy to follow. Absolutely FANTASTIC. THANK YOU SO MUCH!!!!

  • @Excelmacromastery
    @Excelmacromastery 5 дней назад

    Learn how to write real-world Excel VBA code: 👉courses.excelmacromastery.com/ Want to download the source code for this video? Go here: shorturl.at/nMnc6 (Note: If the download page doesn't work then make sure to turn off any popup blockers)

  • @Excelmacromastery
    @Excelmacromastery 5 дней назад

    Learn how to write real-world Excel VBA code: 👉courses.excelmacromastery.com/

  • @Excelmacromastery
    @Excelmacromastery 5 дней назад

    Learn how to write real-world Excel VBA code: 👉courses.excelmacromastery.com/

  • @muhammadkausar2842
    @muhammadkausar2842 5 дней назад

    Really amazing work, yes we like it. I watched it 2 times 😂

  • @muhammadkausar2842
    @muhammadkausar2842 5 дней назад

    Hi Paul, you are amazing, i also download your ClsArray2D class module, and take so much benefits, thank you, now am also able to make my own function for arrays current region, or clear existing data,,. I also download this one , thank you so much for your free help😊

  • @sedataksakal414
    @sedataksakal414 5 дней назад

    You are amazing. Thank you. Greetings from Turkey.

  • @user-nj6em3lf9o
    @user-nj6em3lf9o 5 дней назад

    Hi Mr KELLY. Hope you're fine. I guess you've heard about Office script. My concern is to know if VBA is will still be used in the 5 or 10 next years?!!! Is Office Script is replacement!! I've got those worries since I read somewhere that Microsoft will definetively discard VBScript from Windows 11. Do you have clear and trustfull informations about that topic?

    • @Excelmacromastery
      @Excelmacromastery 5 дней назад

      Office scripts a replacement for VBA. The VBScript update, as it stands now, will only affect regular expressions in VBA.

  • @dheerajjain5754
    @dheerajjain5754 6 дней назад

    Can we use arrays to copy all file names from a folder and paste it in an excel range? I am currently using "Copy Path" menu item to copy all file names which are there in a folder and pasting them in excel because it is simpler and time saving than running a macro which reads each file one by one and copies its name.

  • @urielramirez27
    @urielramirez27 6 дней назад

    Simply masterful! Do you have any courses or classes in recursive functions?

    • @Excelmacromastery
      @Excelmacromastery 5 дней назад

      Thanks. I haven't covered recursion.

    • @urielramirez27
      @urielramirez27 5 дней назад

      @@Excelmacromastery if you need an example idea for the course I have 2: getting the names of files in folders that have subfolders and getting the charges on a credit card charges history that sum up to the credit card current balance

  • @JOSELUISTORREZRIOS
    @JOSELUISTORREZRIOS 6 дней назад

    Excelente tutorial paso a paso y muy útil, muchas gracias

  • @iincitr
    @iincitr 6 дней назад

    Thank you again clean and valuable info. Any plan to video about Excel with Typescript or any other modern code?

    • @Excelmacromastery
      @Excelmacromastery 5 дней назад

      I have videos on office scripts and Python on this channel.

  • @neronjp9909
    @neronjp9909 7 дней назад

    Thx so much!! Great video

  • @neronjp9909
    @neronjp9909 7 дней назад

    Thx so much!! Great video

  • @neronjp9909
    @neronjp9909 7 дней назад

    Thx so much!! Great video

  • @Art8157
    @Art8157 7 дней назад

    Paul, thanks for nice and detail comments. I have one question, why when I use "marks = shMarks.range("A1").Value" I receive error 424 (Object required). And it works when I write "marks = Sheets("shMarks").range("A1").Value".

  • @alterchannel2501
    @alterchannel2501 7 дней назад

    i adore these types of videos

  • @alexandrumarcel3696
    @alexandrumarcel3696 7 дней назад

    one issue I was facing when working with copying arrays is that if you have a column (or more) that is containing string values that starts with "0", the destination range needs to be formatted as text (.numberformat = "@"), otherwise the leading 0s will be truncated.

  • @home8771
    @home8771 7 дней назад

    does anyone know how to do "make a multiple line as comment" shortcut like the one in 14:35?

  • @alializadeh8195
    @alializadeh8195 7 дней назад

    Thanx

  • @vipulDJhaveri
    @vipulDJhaveri 7 дней назад

    Thanks Mr. Paul Great way to master , step by step - so basic fundamentals are very clear as we move forward with clutter free powerful codes - Your Mastery, always shared brilliantly to make us Masters as well ! Thanks a Lot for sharing your treasure 🙏

  • @nathanbowers1761
    @nathanbowers1761 7 дней назад

    Hi Paul, I appreciated that longer video format. It helped me locate where I'm at in my Excel VBA Array journey, and the clear explanations helped me to move to the next level. Nice tutorial; I'm a fan of your work!

  • @Zboob999
    @Zboob999 7 дней назад

    Nice. What about Typescript for Excel ?

    • @Excelmacromastery
      @Excelmacromastery 7 дней назад

      I have some videos on Office Scripts which using the TypeScript language for Excel.

  • @billroberts2808
    @billroberts2808 7 дней назад

    Thanks Paul - as always your videos contain very useful information. I like the longer content video above. It provides a more 'start to finish' approach to code logic. Best regards, Bill

  • @schymi841
    @schymi841 7 дней назад

    Nice video but I have a feeling that you've covered this topic multiple times already in previous videos. As a long time fan of your content I consider myselft a master on arrays at this point :) I'd prefer more videos on Classes with some real world examples....

    • @Excelmacromastery
      @Excelmacromastery 7 дней назад

      Thanks. I have covered a lot of this before. However, this video shows a step by step logic from beginning to end.

  • @howitworks8749
    @howitworks8749 7 дней назад

    Thanks for sharing valuable information. I am already using array but it is still taking time to process big datasets. I have checked the number of iterations is more than 30+ million. Please can you tell me is there any way through which I can use GPU or multi-thread? I have done a lot of research regarding this and someone told me to use opencl but unable to find the library. I have tried to find some third-party tools also for parallel processing but I haven't found any tool yet. Please can you help me that would be great.

    • @suvadipkundu152
      @suvadipkundu152 6 дней назад

      Hi, would you like to elaborate on the problem statement a bit.. for example, would 30 million iterations mean that you are accessing data from multiple spreadsheets? What type of validations/logic are you processing? Can you employ 'divide and conquer' approach? Finally, have you looked at using Excel's ETL backbone, power query as a solution? I do not know the performance criteria you have so if you can throw some more light on the same that will help .. Cheers, Suvadip

  • @m_marcamo
    @m_marcamo 7 дней назад

    Thanks for your knowling

  • @Fredick.7
    @Fredick.7 7 дней назад

    🙂_______👍💯 .

  • @omaraissa318
    @omaraissa318 7 дней назад

    i didn't watch the video but i have a trick about array i don't know if you are aware of. its how to redim preserve an array's first dimension, we know that we can only redim the second dimenssion , so the trick is to fill your Array in reverse order what in first dimension go into the second and what in the second go into first dimension, so then you redim preserve the second dimension after that you transpost the array into a variant using worksheetfunction.transpose to get your initial copied range.

    • @Excelmacromastery
      @Excelmacromastery 7 дней назад

      The problem is that Transpose has a limit of 64000 rows for arrays.

    • @omaraissa318
      @omaraissa318 7 дней назад

      @@Excelmacromastery thank you i learned something

    • @muhammadkausar2842
      @muhammadkausar2842 5 дней назад

      ​@@omaraissa318I have also the same problem, I use meta AI, but AI say, Copy this Array to new blank array and then resize it 😂 Thank u But still I am not completely understand of your comment I will screenshot it 😊

  • @vbaclasses3553
    @vbaclasses3553 7 дней назад

    Amazing video as always Paul. The longer format is quite good as well. Thanks.

  • @kofigyebiadusei2205
    @kofigyebiadusei2205 7 дней назад

    Hello Paul. I'm Kofi from Ghana. Please when will you make a VBA introductory video. It will be very much appreciated. Thank you

  • @sevencrickets9258
    @sevencrickets9258 7 дней назад

    I have been utilizing your resources for 5+ years. I'm a stress engineer, so sifting through tons of raw data and outputting something useful with little individual input is the name of the game. Your stuff has been without question my favorite resource. Clear. Concise. Exactly what is needed.

  • @danielmelo389
    @danielmelo389 7 дней назад

    Nice video, I'm working more with VBA nowadays and the knowledge I got from you helped me a lot, though I haven't adapted to not bubble up my variable declarations yet 😅

  • @hammeedabdo.82
    @hammeedabdo.82 7 дней назад

    thanks Mr. Pau. Please, we need more videos with projects about real-time application in excel through websockt.

  • @tunguyenthanh9723
    @tunguyenthanh9723 7 дней назад

    So more situations are incorrect. I have tested but not correct

  • @daveyks1
    @daveyks1 7 дней назад

    Love this video! Do you program in Access VBA? Please would you do one for Access if you do? Thanks!

    • @Excelmacromastery
      @Excelmacromastery 7 дней назад

      Glad you like it. I haven't used Access in a long time .

  • @dangreen2501
    @dangreen2501 7 дней назад

    I like anything you do!

  • @SolutionsByPVV
    @SolutionsByPVV 7 дней назад

    Paul, your tutorials are fundamental. Yes, I like them.

  • @Excelmacromastery
    @Excelmacromastery 7 дней назад

    Learn how to write real-world Excel VBA code: 👉courses.excelmacromastery.com/ Let me know in the comments if you like this longer video format😀

  • @clandeszipp4564
    @clandeszipp4564 8 дней назад

    I already knew these.

  • @malcolmt3125
    @malcolmt3125 9 дней назад

    This is really good as a learning curve but, trying to implement it into my own workbook ! My data is not starting at A1, but C5, I can only see the reference on this line on the code added from your readme file " frm.ListData = Sheet1.Range("A1").CurrentRegion " changing this A1 location address does not point to my data, if I add sample data to say B1 or C1 I can get it to see it but not on a line 5 start.

  • @muhammadhanifsoomro3166
    @muhammadhanifsoomro3166 11 дней назад

    Sir if data is long or short Lastrow how to automatically select lastrow when generated PDF report ۔۔so how does it's work ۔۔

  • @stevec1835
    @stevec1835 11 дней назад

    Awsum, thanks for taking the time to make these videos. They are so helpfull...

  • @MattyG540
    @MattyG540 12 дней назад

    I’m crediting you with teaching me VBA. I think I’ve watched just about every video in this playlist over the past couple months. I do have a question. I regularly have to continually sum data with multiple conditions, frequently with Or criteria as well. Using excel formulas, I’d go for SUMPRODUCT. It doesn’t seem like the dictionary array would work for that because the key would have to be a combination of several attributes. Could you use the class module as the Key instead of the item?

    • @Excelmacromastery
      @Excelmacromastery 7 дней назад

      If you have multi criteria then you can use multiple fields as the key. Concatenate them together as a string. You wouldn't usethe class module as a key as this would mean the key was a memory address.

    • @MattyG540
      @MattyG540 День назад

      @@Excelmacromastery that makes sense! Thank you!