Excel VBA tutorial for beginners: The Visual Basic Editor (VBE)

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-cou...
    Unlock the secrets of Excel VBA with our comprehensive guide on using the Visual Basic Editor (VBE)! This is the place macros from the macro recorder are recorded as well as the place you'll be writing any VBA code.
    This video is your first step towards mastering Excel VBA, making it a must-watch for both beginners and seasoned Excel users looking to enhance their productivity and workflow efficiency.
    Get access to the full Excel VBA Course here 👉 www.xelplus.com/course/excel-...
    Learn how to navigate and utilize the VBE, from creating auto-updating charts with Excel macros to customizing your workbook with advanced VBA code. Discover the favorite methods to access the VBE, essential components like the Project View, and tips on activating useful tools like the Properties and Immediate Windows.
    00:00 How to Use the Visual Basic Editor in Excel
    00:26 Introduction to the Visual Basic Editor
    09:36 Visual Basics and Color Guidelines
    19:32 Unlock Excel VBA and Macros Course - From Beginners to Advanced
    🡻 Sample Workbook used in Last Lecture🡻
    www.xelplus.com/excel-vba-to-c...
    The Article : www.xelplus.com/the-visual-ba...
    ★★ Links to related videos: ★★
    Excel dynamic macro to copy data from one sheet to another: • Excel VBA: Copy Data f...
    ➡️ Join this channel to get access to perks: / @leilagharani
    👕☕ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
    🎓 Not sure which of my Excel courses fits best for you? Take the quiz: www.xelplus.com/course-quiz/
    🎥 RESOURCES I recommend: www.xelplus.com/resources/
    🚩Let’s connect on social:
    Instagram: / lgharani
    LinkedIn: / xelplus
    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

КОМЕНТАРІ • 343

  • @LeilaGharani
    @LeilaGharani  6 років тому +76

    Get access to the full Excel VBA Course here 👉 www.xelplus.com/course/excel-vba-excel-macros/

    • @antrikshsharma6990
      @antrikshsharma6990 6 років тому +3

      Leila Gharani if you can make videos on the following topics that would be great -
      1. Arrays
      2. Class Modules
      3. Complex UDFs

    • @abdallah.kandiel
      @abdallah.kandiel 6 років тому +3

      Leila Gharani welcome back ur hience

    • @sridharlagishetty2078
      @sridharlagishetty2078 6 років тому

      Oh k sure

    • @LeilaGharani
      @LeilaGharani  6 років тому +3

      Nice list - ok arrays and custom functions are in the course - I'll pick one or two lectures and post them here once we cover the basics a bit....Class modules is something I'm planning to add in later and I'll make a note to make a video for UA-cam as well.

    • @ashishmohan4707
      @ashishmohan4707 6 років тому +1

      Leila Gharani how can i. connect with u

  • @excelisfun
    @excelisfun 6 років тому +4

    Great work on VBA Editor!

  • @pramodkamathable
    @pramodkamathable 5 років тому +6

    This is awesome. I am already loving the way it is explained. Thanks a lot Leila!!

  • @anthonycervantes719
    @anthonycervantes719 5 років тому +8

    You're a talented teacher. Thank you for making this video.

  • @johnborg6005
    @johnborg6005 6 років тому +15

    Thanks Leila. I think that the following videos will be very interesting for me. I love this already :)

    • @LeilaGharani
      @LeilaGharani  6 років тому

      Great! I'm glad to hear to hear that John :)

  • @minnisong6143
    @minnisong6143 5 років тому +6

    Love Love Love as usual!!

  • @vanessachen2330
    @vanessachen2330 Рік тому +1

    I watched several of the videos about this topic. yours are the most precis and easier to understand. I appreciate you awesome work, and I will definitely recomment your videos to my class.

  • @vijaygusain119
    @vijaygusain119 5 років тому +1

    Trust me leila this is the best start for me. Thanks!

  • @georgekiwi8178
    @georgekiwi8178 5 років тому +10

    Great Video Leila! :) Subscribed!

  • @Amazing4u
    @Amazing4u 4 роки тому

    Thank you Leila, it was a very clear and direct to the point lecture. I will look for more in your channel.

  • @JeffreyBaconBacon
    @JeffreyBaconBacon Рік тому

    Thank you for sharing this video. I had some basic tasks to do, without any VBE experience, and your setup instructions got me going the same day.

  • @traewilson6759
    @traewilson6759 5 років тому

    Thanks so much! Very easy to understand and follow.

  • @sarasamin
    @sarasamin 5 років тому +1

    Another good lesson!! thank you

  • @damonwilliams4688
    @damonwilliams4688 4 роки тому +1

    Thank U !! Love your training style

  • @MrNuranga
    @MrNuranga 3 роки тому +1

    Just enrolled for the VBA course and already loving it. Thanks! 🙂

  • @sarojsuwal9434
    @sarojsuwal9434 6 років тому +1

    Great ! VBA coding is what I've been waiting to learn from you since long time ago.

  • @sarasamin
    @sarasamin 5 років тому +2

    Thank you so much for the VBA introductory video! You made it easy for a rookie like me

    • @LeilaGharani
      @LeilaGharani  5 років тому +1

      I'm glad to hear that! Thank you Sara.

  • @gig777
    @gig777 6 років тому

    Thanks Leila. I've been waiting for some VBA stuff from you. It is a topic I stumble through. :)

    • @LeilaGharani
      @LeilaGharani  6 років тому +1

      You're welcome. It does take some time to get the hang of it....but it's really fun once things start to make sense :)

  • @motivation_day_day
    @motivation_day_day 6 років тому

    Thanks Leila for never make me disappointed for following u.i am already sure that this vba series will be awesome and who knows maybe this time i ll also learn 😃

    • @LeilaGharani
      @LeilaGharani  6 років тому

      I'm glad to hear that! I'm looking forward to some of your macros :)

  • @frikkievandermerwe
    @frikkievandermerwe 4 роки тому +7

    Thank you for your amazing work. I've just bought one of your courses on Udemy on Excel Dashboards and I am super impressed. You truly have an amazing, God-given gift to explain in such a way that anyone can understand. Keep it up and be blessed in all that you do!

    • @LeilaGharani
      @LeilaGharani  4 роки тому +1

      Glad you like the course Frikkie.

  • @arturojoseg55
    @arturojoseg55 2 роки тому

    I love your videos. You're the best! Awesome tutorial. Thanks a lot

  • @charleskenyon6638
    @charleskenyon6638 5 років тому

    Excellent and crystal clear explanation!
    Full of admiration for all your videos

    • @LeilaGharani
      @LeilaGharani  5 років тому

      Thank you Charles! Glad you like the tutorials.

  • @damianlerma1334
    @damianlerma1334 6 років тому

    i love you Leila! you are one of the best teaching excel!

    • @LeilaGharani
      @LeilaGharani  6 років тому +1

      That's really kind! thank you. I'm glad you like the teaching style.

  • @zahamdani
    @zahamdani 6 років тому

    Again you are on the top. Excellent way of explanation, especially for beginners.

    • @LeilaGharani
      @LeilaGharani  6 років тому

      Thank you! Glad you like the explanation. Thanks for your support.

  • @SumanGupta-nd7pz
    @SumanGupta-nd7pz 4 роки тому

    Thanks Leila your videos on excel had helped alot

  • @ohromujici
    @ohromujici 4 роки тому

    You are a great teacher. Thank you for making this video series.

  • @marutsega387
    @marutsega387 6 років тому

    Very comfortable approach including your physical appearance. Thanks Leila.

  • @jasoncoleman1892
    @jasoncoleman1892 5 років тому

    Thank you very much Leila. You took a lot of mystery out of VBA code writing.

    • @LeilaGharani
      @LeilaGharani  5 років тому

      Glad I could help with the Demystification :)

  • @FlowerEconomics
    @FlowerEconomics 3 роки тому

    You have the best videos on UA-cam!

  • @ashisbasak1175
    @ashisbasak1175 6 років тому

    Thanks Laila for starting this VBA tutorial. Expecting to learn great VBA from your great tutorial in coming days :)

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're very welcome. Yes will be posting more soon :)

  • @gurnambajwwa
    @gurnambajwwa 4 роки тому

    Awesome videos by you. I like all of them. Thanks for helping hundred of thousands of people.

  • @pakdhebengal
    @pakdhebengal 6 років тому +2

    THANK

  • @assamiyou
    @assamiyou 6 років тому

    Thank you very much Leila. Best instructor

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're welcome & thank you. That's really kind Jonas!

  • @muhammadishfaq5667
    @muhammadishfaq5667 3 роки тому +1

    Hi mam ur way of teaching is so nice. I m from Pakistan and by watching ur videos I have become a master in excel

  • @intisarkhalil7568
    @intisarkhalil7568 2 роки тому

    Thank you very much Leila
    Great work

  • @srinivasanb1961
    @srinivasanb1961 4 роки тому

    Your video on Excel VBA is rocking. Keep it up!

  • @kavitapanchal7779
    @kavitapanchal7779 5 років тому

    Excellent teaching skill, use easy to understanding methods...every lesson for vba as well as excel are very easy to understand...thank you mam...

  • @ProgramadorExcelVBA
    @ProgramadorExcelVBA 4 роки тому

    Parabéns Leila pelo conteúdo.

  • @thinkthinktechs1119
    @thinkthinktechs1119 3 роки тому

    Amazing work leila

  • @zeyushang2990
    @zeyushang2990 5 років тому

    thank you so much !!! i just realize how important vba is in real work life, wish i studied harder about it when i was in school

    • @LeilaGharani
      @LeilaGharani  5 років тому

      You're welcome. It's never too late to learn...

  • @samueldonkoh44
    @samueldonkoh44 6 років тому

    Thanks Leila for this excel VBA course.

  • @ibrarahmad9104
    @ibrarahmad9104 3 роки тому

    Thanx a lot
    Your method of teaching is awesome and easy to understand even for non-English persons

  • @Marcorutz
    @Marcorutz Рік тому

    You are the best 👍

  • @munyaradzidamson2214
    @munyaradzidamson2214 5 років тому

    You are a star.

  • @manodura8132
    @manodura8132 4 роки тому

    Very effective style of teaching. I learned some nice tricks here. Thanks a lot !!

  • @ismailismaili0071
    @ismailismaili0071 6 років тому +3

    thank you so much for starting VBA because it's my weakness in excel and i'm sure you can explain it better and easier.

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're very welcome Ismail. I hope to explain it as simple and easy as possible :)

    • @bijaymaharana2262
      @bijaymaharana2262 6 років тому

      thank you mam for vba tutorial uploaded.

  • @sachinme
    @sachinme 3 роки тому

    Hi Leila, your explaination and presentation is very good.

  • @user-mp5im
    @user-mp5im 6 років тому

    Thanks Leila your teaching style is good

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're welcome. Thank you! Glad you like the teaching style.

  • @mauriciomunozortiz
    @mauriciomunozortiz 5 років тому

    Thank you very much for the video, very helpful.

    • @LeilaGharani
      @LeilaGharani  5 років тому

      My pleasure Mauricio. Glad the tutorial is useful.

  • @marcellokassa6975
    @marcellokassa6975 6 років тому

    Thank you so much Leila... This video is just amazing and so useful! I think I got the easiest way of dealing with VBA... Thanks!

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're very welcome Marcel! Thank you for your comment & support. I'm very happy to hear you find the video useful and easy to follow :)

    • @marcellokassa6975
      @marcellokassa6975 6 років тому

      Love so much Leila... Thanks to you I toy with Excel like a pro. Thank you so much again!

  • @peterbarreca1568
    @peterbarreca1568 4 роки тому

    Your videos are the best.

  • @yurd563
    @yurd563 5 років тому

    Thanks for video!

  • @Juan-Hdez
    @Juan-Hdez 5 місяців тому

    Very useful. Thank you!

  • @e-learningeverything6741
    @e-learningeverything6741 3 роки тому

    Very good lesson

  • @aldrickwa6895
    @aldrickwa6895 6 років тому

    I already know it will awesome. I've liked already.

    • @LeilaGharani
      @LeilaGharani  6 років тому

      Wow! That was fast! Thank you for the trust :)

  • @irviantantohaditomo8917
    @irviantantohaditomo8917 6 років тому

    Good video so I can understand how to build and edit VBA. Thank you.

  • @muhammedabd8405
    @muhammedabd8405 4 роки тому

    great interduce.. i will follow it

  • @mohitdhanwani5540
    @mohitdhanwani5540 6 років тому

    Thanks for uploading this...need more of this!

    • @LeilaGharani
      @LeilaGharani  6 років тому +1

      You're fast :) I'll put out more for sure. Thanks for the support.

    • @mohitdhanwani5540
      @mohitdhanwani5540 6 років тому

      Leila Gharani :-)😀

    • @mohitdhanwani5540
      @mohitdhanwani5540 6 років тому

      Always follow your videos....so helpful they are and very very well explained too!
      Thank you so much for the videos!

  • @venkatkrishnan4797
    @venkatkrishnan4797 4 роки тому

    Hi Leila awesome! Thanks for this videos, its helped me a lot

  • @moi984
    @moi984 3 роки тому

    Nice!!

  • @joelbeauchamp6687
    @joelbeauchamp6687 4 роки тому +2

    All hail Leila!
    Im in love with this channel

  • @nisarahmed5869
    @nisarahmed5869 Рік тому

    Excellent

  • @mirkomilrasulov977
    @mirkomilrasulov977 Рік тому

    you are amazing

  • @abrorabdolyozov8679
    @abrorabdolyozov8679 5 років тому

    Thanks a lot

  • @cookingfortwo9783
    @cookingfortwo9783 2 роки тому

    I like your channel. Your contents never grow old. Kudos.

  • @vikasdsem9914
    @vikasdsem9914 6 років тому

    Cool... Now it Started for which I'm waiting for 'VBA". Thanks for ur video

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're very welcome. Yes finally :)

  • @ashishmohan4707
    @ashishmohan4707 6 років тому

    thanks leila keep it up ur video really really really useful not only for learning purpose although i use ur trick for my dashboard and GL and PL account

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're welcome. I'm glad you use one of the tricks for your dashboard.

  • @tamarastrang5059
    @tamarastrang5059 5 років тому

    Thank you.

  • @1gopalakrishnarao
    @1gopalakrishnarao 6 років тому +4

    EXCELLENT, I thank sincerely for publishing this video on VBA. Your style of explaining the things/concepts, very very informative, inspiring, revealing, thought provoking , interesting & injects a love spirit to learn Excel/VBA for faring better officially/personally. I pray the almighty to bestow good health, prosperity and let more number of people learn the Excel/VBA and do good to the society at large. BIG SALUTATION FROM THE BOTTOM OF MY HEART TO MY LOVELY AND BEAUTIFUL TEACHER. NAMASKAR.

    • @LeilaGharani
      @LeilaGharani  6 років тому

      Thank you very much Gopala for your very kind comment. I am very happy to hear you enjoy the tutorials & find them useful :) Thank you for your continuous support.

  • @yosef-yosef9414
    @yosef-yosef9414 3 роки тому

    VERY helpful and clear explanation ...
    Thank you Leila Gharani you're so great and bright ..

    • @LeilaGharani
      @LeilaGharani  3 роки тому

      Glad it was helpful!

    • @yosef-yosef9414
      @yosef-yosef9414 3 роки тому

      @@LeilaGharani
      what the ...
      I'M NOT EXPECTING YOUR REPLY YOU DON'T KNOW HOW HAPPY I AM RIGHT NOW Leila 😅😘💞💋😍

  • @MasterKenfucius
    @MasterKenfucius 5 років тому

    You're a very good teacher. Thank you. Do you know if Microsoft will ever update the programming in excel to have C# as well as VB?

  • @accountingjobwantedanywher8220
    @accountingjobwantedanywher8220 6 років тому

    Is an great and use full to us

  • @rakhilamamenova4176
    @rakhilamamenova4176 2 роки тому

    Thank you Leila for the great tutorial! Are there any videos how to create a pop up labeling or hover over on scatter plot graph?

  • @abasahmad1640
    @abasahmad1640 4 роки тому

    Hi Leila.
    It was really a great video.. Thumbs Up ...... I hope next videos will also be like this .. great job done..
    Regards

  • @22cranbrookave
    @22cranbrookave 4 роки тому

    Great presentation. I can do programming but didn't have in depth understanding of basics.

  • @enricopunta2819
    @enricopunta2819 4 роки тому

    Hi, I have a rather difficult question: I got a file Excel with activation macro. I use many conditional formatting and I wish that the interval of application would remain unchanged. I think that the problem are the macros but I obtain no effect registering a macro and setting the conditional formatting. Do you have any ideas? Thanks

  • @rsajr1
    @rsajr1 5 років тому +1

    Enjoyed the Video

  • @menitijalansunyi
    @menitijalansunyi 2 роки тому

    Alhamdulillah.
    Thank You Leila.

  • @Dev_Bartwal
    @Dev_Bartwal 6 років тому

    Thanks LG
    I am really interested for VBA
    I am confident make better future becoz of LG
    Thanks a lot with love ❤️

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're very welcome Dev. Yes - VBA can do great things and it's also lots of fun :)

  • @sandeepys7560
    @sandeepys7560 4 роки тому

    Have taken the course on Udemy as well. Thank you for the amazing material..!

    • @LeilaGharani
      @LeilaGharani  4 роки тому

      That's great. Thanks for your support.

    • @cuteprachi4u28
      @cuteprachi4u28 4 роки тому

      Hi Sandeep, was Udemy course was helpful ?

  • @khalidalisubhanallah2947
    @khalidalisubhanallah2947 6 років тому

    NICE VIDEO

  • @mearshi
    @mearshi 5 років тому

    Liked the video and subscribed instantly...

    • @LeilaGharani
      @LeilaGharani  5 років тому

      Thank you. It's great to have you here.

  • @antrikshsharma6990
    @antrikshsharma6990 6 років тому +1

    seems like the VBA series has finally started as promised back in December :)

    • @LeilaGharani
      @LeilaGharani  6 років тому

      Yes. It took a while but it's finally here. I had to structure the original course first so I could also post videos here in a way that was easy to follow... but once the course is out, I'll have time to make separate VBA videos just for the channel here. Let me know if there are any topics you'd like to cover.

  • @DanSchallerforPOTUS
    @DanSchallerforPOTUS 3 роки тому

    I learned some of this (and quite a bit of different stuff) while using Enterprise 6.0. - Mind you, that is more for creating applications has a whole and it has a compiler for it (to use when it has been debugged and is ready for distribution). - Still, very good (useful) information.

  • @necyv2887
    @necyv2887 2 роки тому

    Subscribing love it.

  • @robertakwasiadjei8223
    @robertakwasiadjei8223 6 років тому +1

    Thanks Leila

  • @AnilSharmasirji
    @AnilSharmasirji 4 роки тому

    What is the use of ctrl+f11 (macro sheet) which look slightly different from normal excel sheet

  • @biswajit6708
    @biswajit6708 6 років тому

    Thanks a lot. Please upload more on VBE for beginner.

    • @LeilaGharani
      @LeilaGharani  6 років тому

      You're welcome. Yes, sure. - I'll post a few videos on these from my course.

  • @bluejeans706
    @bluejeans706 4 роки тому

    Great intro video! Would you have one on docking/resizing the vbe windows. I have managed to "undock" them and they overlap now. The check boxes are all marked under Tools>options as being docked, but they are not snapped in. I've tried resizing them and while functional, they just look messy. :P

  • @priteshugrankar6815
    @priteshugrankar6815 4 роки тому

    The socratica of Excel!!

  • @mehdihammadi6145
    @mehdihammadi6145 6 років тому

    Well done

    • @LeilaGharani
      @LeilaGharani  6 років тому

      Thank you Mehdi. Glad you like it.

  • @DILOAyyarmalasahadevana
    @DILOAyyarmalasahadevana Рік тому

    How make search box which display all search value and it's associated data in same row. It should include all duplicate values.

  • @ddp2049
    @ddp2049 2 роки тому +1

    Hello Leila do you recommend saving the macro in a excel file.

  • @omaatlamodise4486
    @omaatlamodise4486 5 років тому

    i need help in writing to a file and userforms together with their codes

  • @leonxyang
    @leonxyang 4 роки тому

    thanks

  • @harsharankaurdhillon2581
    @harsharankaurdhillon2581 4 роки тому

    Hello Leila, I am trying to run macros to multiple sheets but all of them shares the different format. Is there any way I can record my macro with keyword?
    Thank you,

  • @mudassarnadeem4084
    @mudassarnadeem4084 4 роки тому

    HI Mam Cna You Help Me How can see any code in VBA Protect sheet

  • @hosseinhosseinpoor4845
    @hosseinhosseinpoor4845 3 роки тому

    thanks thanks thanks

  • @lubeganasser694
    @lubeganasser694 6 років тому

    Hi Leila.Thanks for the tutorials,indeed they are useful.I want to learn how to generate a user form with drop down list in excel 2016

    • @LeilaGharani
      @LeilaGharani  6 років тому

      Hi Lubega - I have this topic actually included inside the course. I'll see if I can add a few of the user form videos on UA-cam as well...

  • @srikanthkasala7850
    @srikanthkasala7850 6 років тому

    Grand Welcome... We're also waiting for your classes in you tube channel for VBA Class starts from basics of arrays and modules...