Convert Existing VBA Code into a Class

  Рет қаралды 9,501

Jennifer Garth

Jennifer Garth

Күн бұрын

Пікірлер: 25
@RungeCarl
@RungeCarl Жыл бұрын
Another brilliant module! One of the best explanations of regular modules vs classes I have seen
@simondechoisy779
@simondechoisy779 8 ай бұрын
Jennifer - I have stumbled my way through class modules with a modicum of success but have never been quite sure. This is simply the best explanation! This has helped me fully bridge the gap in my knowledge from being a good coder in modules to being able to code class modules with confidence. I want to say a big thank you and, for anyone wanting to learn about classes, I will be sending them to your you tube videos.
@jdub-replicant
@jdub-replicant 7 ай бұрын
thank you for explaining the get and let assignments when stepping through the code. I have read so many articles and books and I just didn't that concept that till you showed it step by step. soooooo helpful thank you!!!! i probably could have figured that out but there is so much i'm trying to figure out. your vids are incredibly helpful!!!
@jmathew6988
@jmathew6988 Жыл бұрын
This is another great tutorial giving in-depth understanding into the working of VBA Classes. I was stuck with a VBA assignment where columns become reordered or new columns get added (headers unchanged) thereby making hard-coded cell referencing out of question. After watching this tutorial I may have hit upon a potential fix. Shall be working on it in the coming days. Thank you for your effort to explain the VBA classes working with such detail.
@AbdulRahmanSABRA
@AbdulRahmanSABRA 2 жыл бұрын
Great Tutorial looking for more , thanks Jennifer
@anastasioualex
@anastasioualex Жыл бұрын
It was helpful seeing how to CONVERT to a class module, very good example
@cpro671
@cpro671 2 жыл бұрын
Nice tutorial, look forward to more on classes
@RoadsterLoverMedia
@RoadsterLoverMedia Жыл бұрын
@Jennifer Garth I appreciate the elegance of your code and the straightforward presentation. Please expand Class concepts to their fullest. I am looking forward to your discussion of *Implements*. Thank you.
@mjohnstone2399
@mjohnstone2399 8 ай бұрын
Rubberduck has good VBA OOP blogs and examples.
@noviceprogrammer2011
@noviceprogrammer2011 2 жыл бұрын
Great video, well explained.
@noambrand
@noambrand Жыл бұрын
Great video, thanks Jennifer!
@힐베르토
@힐베르토 Жыл бұрын
Hi Jenifer, thank you for the video. Though you're a newby in VBA youtuber it was what I have thought others should create to convince learners of classmodue. I guess I will subscribe you and share some ideas regarding VBA.
@Microjam
@Microjam 2 жыл бұрын
Great job Jennifer!
@AnilKumar-vi8oe
@AnilKumar-vi8oe 2 жыл бұрын
Keep going and upload videos frequently
@ousmanetall1286
@ousmanetall1286 Жыл бұрын
Great video, but you could ommit using the gets property, since you haven't need then in this project, or if you really want to use them, instead of calling the pFirstName, pLastName etc, you have to call the function get FirstName, get LastName etc rather, to run them in other hand
@George-lp3qb
@George-lp3qb Жыл бұрын
Very helpful
@ahmedzakaria11
@ahmedzakaria11 Жыл бұрын
Great
@peterwooldridge7285
@peterwooldridge7285 Жыл бұрын
Hi Jennifer, some very useful info on your channel . Unfortunately, like almost all channels of this ilk it lacks cohesiveness and only tells half the storey. What is really needed is a series of tutorials which demonstrates the various elements you've described (classes, modules, enums etc) as they would be usedare in a "real life" application that uses Userforms (at least 2), interaction between forms, pushing and pulling data to worksheets, incorporates validation etc etc... I think such a series would put you ahead of the game What do you think?
@cessromer7078
@cessromer7078 Жыл бұрын
So to create a satellite that orbit around earth then some properties would be size of antenna and power that can be battery or solar and antenna receiver and antenna transmitter would be methods and how do I create functions when antennas send messages to and from earth ? Thanks in advanace. Also a satellite does not have light but reflects light from sun, satellite changes its phases,and satellite revolves around a planet instead of the sun.
@ramamuruthyrevoori8255
@ramamuruthyrevoori8255 2 жыл бұрын
hai jenni your voice is fabulous i think your voice we heard like a dance competition the mayyas
@danp6101
@danp6101 Жыл бұрын
Why didn't you use a Private variable for the class for the select case peEmploymentType. where the variable would have been set going through the select case. IE empolyeeType = FullTime. Then just have 1 sub PrintForms that would be called after the select case. Private Sub PrintForms Debug.Print pFirstName, pLastName, employeeType end sub
@scotolivera8207
@scotolivera8207 2 жыл бұрын
It would be great if you could cover working with customxml part like crus operations in vba 😊
@noviceprogrammer2011
@noviceprogrammer2011 Жыл бұрын
Quick question: you showed HOW to convert from a regular module to a class module. However, you did not explain WHY you converted it. Can you drop a comment here explaining the purpose. Thanks
@joukenienhuis6888
@joukenienhuis6888 Жыл бұрын
Great tutorial, but it lacks a bit of simple vba code. I almost see a class
@baphnie
@baphnie 5 ай бұрын
Fear of globals feels like superstition.
Working with Multiple Classes in VBA
1:11:47
Jennifer Garth
Рет қаралды 7 М.
VBA Classes - The Definitive Guide
31:03
Data Ben
Рет қаралды 36 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 197 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 79 МЛН
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 75 МЛН
Multithreading with VBA?
37:30
codekabinett.com/en
Рет қаралды 10 М.
Custom Enumerations in VBA
10:32
Jennifer Garth
Рет қаралды 3,2 М.
VBA Classes
40:43
Siddharth Rout
Рет қаралды 9 М.
Say Goodbye to IF Statements in Excel with SWITCH
7:45
Teacher's Tech
Рет қаралды 568 М.
Class Modules in VBA: Made Super Simple
17:43
Excel Macro Mastery
Рет қаралды 35 М.
How to Customize Controls in Excel VBA
18:23
Excel Macro Mastery
Рет қаралды 14 М.
Creating Classes in VBA
10:19
Jennifer Garth
Рет қаралды 19 М.
Getters and Setters in VBA
10:30
Jennifer Garth
Рет қаралды 8 М.
How to Use Class Interfaces in Excel VBA
20:16
Excel Macro Mastery
Рет қаралды 81 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 197 МЛН