Excel VBA - Beginner to PRO Masterclass with Code Samples

  Рет қаралды 97,199

Chandoo

Chandoo

Күн бұрын

Learn how to develop VBA code to solve practical problems in this Masterclass. Code samples will be provided.
📁 Sample file (from the stream): files.chandoo.org/vba/live-de...
Timestamps:
===========
0:00 - Welcome message & hellos (skip this if you want)
12:00 - What is covered in this video (VBA intro, practical example, VBA vs. Python vs. Office Scripts)
16:20 - Introduction to VBA - What is it and when / where to use it?
26:54 - Using "Macro Recorder" and creating your first VBA macro - simple example
33:50 - Understanding the recorded macro
37:52 - Customizing the recorded macro by adding your own code
39:45 - Adding a button to run the macro
41:40 - Adding the macro to Excel ribbon
50:04 - ChatGPT and VBA... my thoughts
53:06 - VBA Object model - explained
57:55 - Creating a simple "TO DO List" App with VBA
1:12:40 - IF condition in VBA
1:15:03 - Adding time stamp (with variables in VBA)
1:20:35 - Showing a message with msgbox()
1:32:38 - Highlighting done activities (with conditional formatting)
1:33:46 - Python vs. Excel
1:39:30 - Highlighting done activities (with VBA)
1:42:30 - Writing a loop in VBA (For Each)
1:51:00 - Discussion about VBA vs. other technologies, Q&A and random musings (watch if you have time)
#vba #excel
~
sub LikeAndShare()
debug.print("Like and share this video. Thank you 🙏")
end sub

Пікірлер: 84
@chandoo_
@chandoo_ 8 ай бұрын
Skip to 26:00 for the content. First 25 minutes is hellos, intros & theory. Use below timestamps to skip to specific sections. Happy coding :) ⏱ timestamps: ============== 0:00 - Welcome message & hellos (skip this if you want) 12:00 - What is covered in this video (VBA intro, practical example, VBA vs. Python vs. Office Scripts) 16:20 - Introduction to VBA - What is it and when / where to use it? 26:54 - Using "Macro Recorder" and creating your first VBA macro - simple example 33:50 - Understanding the recorded macro 37:52 - Customizing the recorded macro by adding your own code 39:45 - Adding a button to run the macro 41:40 - Adding the macro to Excel ribbon 50:04 - ChatGPT and VBA... my thoughts 53:06 - VBA Object model - explained 57:55 - Creating a simple "TO DO List" App with VBA 1:12:40 - IF condition in VBA 1:15:03 - Adding time stamp (with variables in VBA) 1:20:35 - Showing a message with msgbox() 1:32:38 - Highlighting done activities (with conditional formatting) 1:33:46 - Python vs. Excel 1:39:30 - Highlighting done activities (with VBA) 1:42:30 - Writing a loop in VBA (For Each) 1:51:00 - Discussion about VBA vs. other technologies, Q&A and random musings (watch if you have time)
@nathanielmilitar
@nathanielmilitar 8 ай бұрын
Thank you, Chandoo. #1 fan of your work
@researchmind6792
@researchmind6792 8 ай бұрын
Awesome passion for you as a youth skilling leader. In this era, you're my mastery of tech areas.
@gospelmoto2833
@gospelmoto2833 8 ай бұрын
Another WOW project of yours Chandoo! Many thanks!
@josephdaquila2479
@josephdaquila2479 8 ай бұрын
I think the nice thing about VBA is that the better you get Excel the better you get at VBA. Knowing that the built in Excel functions seems to lead to seeing more opportunities to use those as opposed to writing code to accomplish the same thing.
@fokhrulislam2633
@fokhrulislam2633 8 ай бұрын
I am not a programmer. Once I asked for help from a programmer to scrape and sort some data from a website. He did that for me. Fun fact is that his code took more time than my template (Excel+Some Formula+1 VBA). Just sharing my experience. Like Chandoo said "You will know when you need to use Excel or Python. Consider both just as tools."
@RobertAfrick
@RobertAfrick 8 ай бұрын
Thank you, Chandoo, for all you do! Your videos are awesome. Your style is unique--it draws you into the conversation. You uniquely take topics that can be, well, boring, and create excitement. Your explanations are simple to follow and provide actionable advice for all to use in their daily job.
@madhurig3974
@madhurig3974 4 ай бұрын
Thank you so much for this VBA videoand also for sharing knowledge on scope and possibilities with VBA and Excel!
@kanyaupoe
@kanyaupoe 18 күн бұрын
Like this Excel Genius so much, have been following him since 2012.
@fokhrulislam2633
@fokhrulislam2633 8 ай бұрын
Thank you for your contribution helping and educating us in many ways.
@itspritm
@itspritm 8 ай бұрын
Thanks for sharing valuable knowledge
@josephw9690
@josephw9690 8 ай бұрын
Thanks, great lecture! Definitely wanna see a video about utilizing GPT for VBA coding! Also how to build “repetitive” Pivot Tables via VBA
@dennisdelvillar7780
@dennisdelvillar7780 8 ай бұрын
Thanks for this, Chandoo. Mabuhay👊
@cxHxIa
@cxHxIa 29 күн бұрын
Thank you Chandoo - I learnt Power BI from your tutorials and now VBA - you explanation is so clear.. and I don't go to any training videos - and also you fellow Telugite Baaga Explain Chestaru..!😀 Pawan
@subramanianvelusamy2953
@subramanianvelusamy2953 8 ай бұрын
Thanks chandoo for sharing your knowledge for all of us
@lokeshagarwal6373
@lokeshagarwal6373 8 ай бұрын
Happy Birthday to your children... they have got amazing parents......
@MAH8897
@MAH8897 8 ай бұрын
Hi Chandoo, My best Birthday wishes and lots of love to your lovely kids.🎉🎉🎉 Have great 🎊celebration🥳 From Hyderabad.
@jerrymiles7804
@jerrymiles7804 8 ай бұрын
Hi dear Chandoo, best regards from Limón, Costa Rica!
@MindbodySync
@MindbodySync 6 ай бұрын
Dear Chandoo, Seen your several videos and by far i can say that your videos are very informative and i just loved them, Not to forget i like them as well, if not all -Most of them.. However this live session does not do justice to the time spent. I was really wishing if could really learn being a beginner. Nevertheless proud of the work you are doing and honoured to be part of this channel 😊
@chandoo_
@chandoo_ 6 ай бұрын
Thanks for the feedback @MindbodySync. Live programming is always tricky. I thought we did cover a lot of ground and I showcased valuable examples in the stream. Try watching my other VBA videos if you are totally new - kzbin.info/www/bejne/a5yQfKOJoNeFhdk
@venkatakameswararaomukkama1279
@venkatakameswararaomukkama1279 8 ай бұрын
My best wishes to your family and children..... dear Poorna Chandu....
@MehediHasan-hk9mk
@MehediHasan-hk9mk 8 ай бұрын
Flying the crow Chandoo is my bro. 😂❤❤❤ Love from Bangladesh.
@SunilYadav_ExcelsDive
@SunilYadav_ExcelsDive 6 ай бұрын
Great Tutorial Sir 👍
@cedricmbelesaylove8153
@cedricmbelesaylove8153 4 ай бұрын
Watching from Dr Congo in central Africa
@boubekeurzeffane271
@boubekeurzeffane271 8 ай бұрын
Thanks for sharing, I follow you from ALGERIA
@chandoo_
@chandoo_ 8 ай бұрын
Welcome!
@sandeepkothari5000
@sandeepkothari5000 8 ай бұрын
GREAT Chandoo
@yohannaagbanaji8012
@yohannaagbanaji8012 7 ай бұрын
Wow, congratulations🎉
@lokeshagarwal6373
@lokeshagarwal6373 8 ай бұрын
Hello from Assam India
@yohannaagbanaji8012
@yohannaagbanaji8012 7 ай бұрын
I'm watching from Nigeria
@adepukrishna
@adepukrishna 8 ай бұрын
Chala bagunnam bro
@cloudy5074
@cloudy5074 Ай бұрын
Watching from philippines
@nathanielmilitar
@nathanielmilitar 8 ай бұрын
Thank you. You are great bruh
@PRAKASHKUMAR-nl3bf
@PRAKASHKUMAR-nl3bf 4 ай бұрын
Hello Sir, I am watching this video from Noida. I am working as a MIS executive.
@christianbermudezrivas9025
@christianbermudezrivas9025 8 ай бұрын
Colombia, South America!
@cloudy5074
@cloudy5074 Ай бұрын
I'm drinking coffee now while watching
@yohannaagbanaji8012
@yohannaagbanaji8012 7 ай бұрын
Q: when are you going to a live streaming training on excel and power BI? I really want to learn the two.
@martinargimon730
@martinargimon730 8 ай бұрын
Hi chandoo. I just came to realise that since VBA does not work on the web I have a problem when ‘collaborating’ with my colleagues, as some of my workbooks have macros and VBA sub routines which render the collaborating ( or rather the use of these sub routines) useless. Is Office script going to replace these features ? I do not seem to clearly understand what features we can use ( in the cloud) to enable macros or automation straight from a ‘button’. Am I making sense ? Perhaps with so many new apps , etc etc I am getting confused. Thanking u in advance. Regards. Martin
@mohitprasad3352
@mohitprasad3352 8 ай бұрын
thanks for this video
@tirthom1
@tirthom1 8 ай бұрын
Hi Chandoo , I've Question in my mind , For example Cntrl+C , Contrl+V are these , type of macros ? if yes then how we could we undo these kind of actions.
@canirmalchoudhary8173
@canirmalchoudhary8173 7 ай бұрын
Also, The most evident question I get when people approach me that VBA is one stop shop for any automation, I say them that data related automation can be done thru POWER query but they hate PQ bcz they don't want to work on their raw data.
@srimanthreddy.s7500
@srimanthreddy.s7500 8 ай бұрын
Hi Chandon, *Face problem * that is it possible to join three Slicer table in excel worksheet. I have try but not able to navigate the right process can you give u r insight on this .
@canirmalchoudhary8173
@canirmalchoudhary8173 7 ай бұрын
I build my first "client useful" VBA without knowing it. Count rows, add equivalent rows, copy paste values, flip values. That was using some formulas as well.
@dreambigservicesdreambig8372
@dreambigservicesdreambig8372 8 ай бұрын
Thank you for sharing knowledge
@kaih.7613
@kaih.7613 8 ай бұрын
Hello from Germany
@PHWiest
@PHWiest 8 ай бұрын
'AWESOME !
@ohayle
@ohayle 8 ай бұрын
Yes
@rochellerowe4093
@rochellerowe4093 8 ай бұрын
Rochelle Rowe from Jamaica
@limitone9564
@limitone9564 2 ай бұрын
You shld say questions will be answered at the end of the live cast. So only write them when you say "start writing your questions now"...
@Kaizen__trader
@Kaizen__trader 8 ай бұрын
👍
@williambenson8641
@williambenson8641 Ай бұрын
What content creation program are you using for your doodles and mouse zooms?
@chandoo_
@chandoo_ Ай бұрын
I use Zoomit. You can download it for free from Microsoft website below: learn.microsoft.com/en-us/sysinternals/downloads/zoomit
@mustafaali7907
@mustafaali7907 8 ай бұрын
Hallo from Germany
@biznezplus
@biznezplus 8 ай бұрын
yes
@ravi-uc4nm
@ravi-uc4nm 3 ай бұрын
Anna All good but Dim means what y we are using ' Y we are using and when we need to use. tell this first anna . I dint understand anything only ribons i got it
@biznezplus
@biznezplus 8 ай бұрын
From Somalia
@y1.5
@y1.5 8 ай бұрын
Also make video on how to teach! 🤝
@swapnilpatil3042
@swapnilpatil3042 8 ай бұрын
India 🇮🇳
@AbdulAziz-hz2ex
@AbdulAziz-hz2ex 8 ай бұрын
I am from saudi arabia, interested to learn Excel VBA
@adepukrishna
@adepukrishna 8 ай бұрын
Telangana, RAJANNA SIRCILLA District
@ravijha7316
@ravijha7316 8 ай бұрын
How to run ARS via VBA
@mahidharratnamadusumilli8679
@mahidharratnamadusumilli8679 8 ай бұрын
India, Hyderabad
@vinodabbey8870
@vinodabbey8870 2 ай бұрын
Abbey from India
@vintagerhythm512
@vintagerhythm512 4 ай бұрын
Hey Chandoo & everyone.. I've a query that Can I learn Excel VBA with no knowledge of coding since I'm completely from Finance Background?
@chandoo_
@chandoo_ 4 ай бұрын
Yes, you can. VBA is one of the easiest languages to learn if you are a beginner. All the best :)
@vintagerhythm512
@vintagerhythm512 4 ай бұрын
@@chandoo_ Thank you so much Chandoo for clearing this doubt for me.
@ravijha7316
@ravijha7316 8 ай бұрын
Ravi jha delhi IND
@hansakaerandaranasinghe6455
@hansakaerandaranasinghe6455 Ай бұрын
@itspritm Thanks for sharing valuable knowledge.....
@Driving4bangers
@Driving4bangers 8 ай бұрын
Southern USA😊
@nikhiljain6212
@nikhiljain6212 8 ай бұрын
Mumbai
@susheela5865
@susheela5865 8 ай бұрын
India, ap
@ahmadousman33
@ahmadousman33 5 ай бұрын
Sri Lanka
@omegaranger6654
@omegaranger6654 7 ай бұрын
Andhra 🎉
@suhailtousif4017
@suhailtousif4017 8 ай бұрын
India Delhi
@ohayle
@ohayle 8 ай бұрын
Hello
@taz1058
@taz1058 8 ай бұрын
Bro u waisted 12 mins of my time just looking at ur comments and time is prssious although ur making money from it so have consideration for others and get to the point.
@chandoo_
@chandoo_ 8 ай бұрын
Buzz off man. This is a live stream. You can skip ahead if you want. Who asked you to waste your time. I like interacting with my community.
@anand1641
@anand1641 8 ай бұрын
Chandoo is doing free session and that is community service.. where is question of making money from this session...let's appreciate his efforts on this instead of making loose comments.. Thank you Chandoo for helping making excel enthusiasts like me in honing the skills
@limitone9564
@limitone9564 2 ай бұрын
Chandoo, (this is only constructive criticism) I think you have ADHD, bec you forgot what this live video is for, it's from Beginner to PRO.... you started preaching on a viewer's comment, it seems you weren't prepared and there was no agenda, you kept reading your comment not concentrating on the purpose - to teach. Which was not productive time for your followers. Pls think about your followers time too, they want to learn from you, don't crap it up. ☺😩
@chandoo_
@chandoo_ 2 ай бұрын
Thanks for this feedback. The livestream videos have a different purpose. I want to engage and interact with the audience who are taking time to join the video live and help them best. That is why there are occasional detours. You wouldn't always stick to the topic in real life when someone interrupts and says something (if you think about it, even replying to your comment now is akin to that). Feel free to skip ahead. KZbin gives you options to see the script and jump ahead.
@sdlfjlsdirnsfsi232qrlfn
@sdlfjlsdirnsfsi232qrlfn 8 ай бұрын
Sub markAsDone() ' This is a test code Dim timenow As Date ' Declare the variable here If (ActiveCell.Column = 4 And (ActiveCell.Row >= 5 And ActiveCell.Row
@9826076733
@9826076733 8 ай бұрын
India pune
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 4 МЛН
СҰЛТАН СҮЛЕЙМАНДАР | bayGUYS
24:46
bayGUYS
Рет қаралды 832 М.
Introducing Python in Excel
19:01
Leila Gharani
Рет қаралды 1,5 МЛН
Flores
0:09
Mensagem de Aniversario para voce
Рет қаралды 90
Master Excel MACROS & VBA in ONLY 1 HOUR!
1:26:53
MyExcelOnline.com
Рет қаралды 738 М.
Filter Data for Multiple Column Criteria using VBA (By Mohammad Shabbir)
37:48
My Crazy Day Inside The Shoot of Mahaul Kya Hai | Unfiltered by Samdish
1:01:00
UNFILTERED by Samdish
Рет қаралды 1,3 МЛН
This ~NEW~ Excel Function is Shockingly Powerful!
9:37
Chandoo
Рет қаралды 257 М.
Excel 2021 VBA Intermediate Tutorial
2:21:03
Learnit Training
Рет қаралды 38 М.
Do You Need to SWITCH from Excel VBA Macros to Office Scripts?
13:02
Leila Gharani
Рет қаралды 373 М.
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 2,3 МЛН
Pratik Cat6 kablo soyma
0:15
Elektrik-Elektronik
Рет қаралды 8 МЛН
Xiaomi Note 13 Pro по безумной цене в России
0:43
Простые Технологии
Рет қаралды 2,1 МЛН
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 10 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 21 МЛН