Working with Multiple Classes in VBA

  Рет қаралды 6,768

Jennifer Garth

Jennifer Garth

Күн бұрын

Пікірлер: 20
Ай бұрын
Awsome video!! Just found your channel today. Thanks a lot!
@andi.setiadi
@andi.setiadi Жыл бұрын
Excellent explanation! Clear and easy to understand. The details provided are very insightful and make the concept easily accessible for everyone. Great job
@gsr4535
@gsr4535 Жыл бұрын
Enjoy your videos young woman. I like that you seem to concentrate a bit more on the advanced features of VBA. 👍
@noviceprogrammer2011
@noviceprogrammer2011 Жыл бұрын
I believe this is an example of composition, which is an alternative to inheritance. Hope you can make some more similar videos and show if / how SOLID principles apply in VBA too.
@jmathew6988
@jmathew6988 Жыл бұрын
Excellent tutorial, like all your previous ones. Thanks for the great tip on how to prevent the compile errors pop-up. The loud alarm accompanying the pop-up was really irritating and whenever it happened, more often than not I would end up inadvertently clicking 'help' rather than 'close'. It meant having to wait for a really useless help textl to load and having to close an extra window. It used to rattle me every time. The whole thing had developed into a sort of phobia. Not exaggerating by saying that life has turned much easier because since I got rid of that pop-up. The silent red lettering is comparatively such a gentle and polite way to be alerted. Thank you ! 😊😅 p.s.You have an incredible voice.
@armaghankhan3938
@armaghankhan3938 10 ай бұрын
Thanks Jennifer for creating this video
@iamjojo999
@iamjojo999 Жыл бұрын
I learned alot from you, thanks, really looking forward to your next video about qualification at 56:00😊
@jamesthomas8249
@jamesthomas8249 Жыл бұрын
Liked the video, but what are the advantages to using the "getters & setters" over just setting the properties as Public and validate data in code that creates the class?
@iamjojo999
@iamjojo999 Жыл бұрын
Using getter and setter is more flexible than one public statement. For example, by using setter (a subroutine), you can assign variable some value then do something else. For example,when setter set apple amount, you can write some code below it to calculate how much of these apples, then when you give value to setter in a normal module l, the class will take your value then calculate the amount. Another advantage of using getter and setter is that you can choose to or not to use either of it. If you only use setter and private statement, then user can only assign value to variable but can't retreive it. It's the same on the contrary. If you want to protect variable from changing value from outside the class,then simply write getters only. Hope this is clear.
@jamesthomas8249
@jamesthomas8249 Жыл бұрын
@@iamjojo999 Thank You. Yes, I think I can apply your examples in my employee and Inventory classes. Protecting cells feature will be especially useful. Very much appreciate your quick response.
@ravirajguru7044
@ravirajguru7044 Жыл бұрын
Great!, Also Please share this sheet if possible. Thanks for the videos
@AbdulRahmanSABRA
@AbdulRahmanSABRA Жыл бұрын
Very informative
@robertherzog2087
@robertherzog2087 9 ай бұрын
I don't understand how the employee, person, and address get linked together in your examples. Can you please explain the specific aspect of your code?
@carolinaoviedo1172
@carolinaoviedo1172 9 ай бұрын
Hi Robert, do You still need some help with this?
@robertherzog2087
@robertherzog2087 9 ай бұрын
@@carolinaoviedo1172 Thanks for replying. I think I figured it out, but it wasn't explained very clearly.
@svsin440
@svsin440 Жыл бұрын
❤❤❤
@sebastian1200
@sebastian1200 2 ай бұрын
Using public enum is not the best solution. What’s more the class is not usable without that module with public declaration. The class should be usable on its own.
Creating Classes in VBA
10:19
Jennifer Garth
Рет қаралды 19 М.
Convert Existing VBA Code into a Class
25:55
Jennifer Garth
Рет қаралды 10 М.
Мама у нас строгая
00:20
VAVAN
Рет қаралды 12 МЛН
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 7 МЛН
Custom Enumerations:  Practical Example - Employment Type
14:13
Jennifer Garth
Рет қаралды 2,5 М.
How to Use Nested Dictionaries in VBA
8:58
Excel Macro Mastery
Рет қаралды 16 М.
UserForm with Multiple Option Buttons in Excel and VBA
18:33
TheDataLabs
Рет қаралды 106 М.
Class Modules in VBA: Made Super Simple
17:43
Excel Macro Mastery
Рет қаралды 35 М.
Getters and Setters in VBA
10:30
Jennifer Garth
Рет қаралды 8 М.
5 Tips for Passing Values to Macros (VBA) - Beginner to Advanced
14:11
How to Use Class Interfaces in Excel VBA
20:16
Excel Macro Mastery
Рет қаралды 82 М.
Enums in Python are SO useful
5:39
Carberra
Рет қаралды 36 М.
VBA Project - Pet Shelter (CLASSES and OBJECTS)
26:26
Data Ben
Рет қаралды 6 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 837 М.