Excel VBA Introduction Part 36 - Using Class Modules in Other Projects

  Рет қаралды 42,260

WiseOwlTutorials

WiseOwlTutorials

Күн бұрын

If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link www.wiseowl.co... to make a donation. Thanks for watching!
You can buy our Introduction to Excel VBA book here www.lulu.com/s...
By Andrew Gould
www.wiseowl.co.uk - One small limitation of VBA Class Modules is that, by default, you can only use them in the VBA Project in which they were created. This video explains how you can make your class modules available to other VBA projects. You'll learn about the Instancing property of a class, how to set references to VBA projects, how to write a function to return a new instance of a class and how to create an Excel Add-In as a convenient way to distribute your class modules.
Visit www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Access, Microsoft PowerPoint, Microsoft Word, Microsoft Project, Microsoft Publisher, Microsoft Visio, SQL Server, Reporting Services, Analysis Services, Visual Studio, ASP.NET, VB.NET, C# and more!

Пікірлер: 21
@mje01
@mje01 9 жыл бұрын
This is an excellent set of tutorials and thank you Andrew your style of presentation makes it that bit easier for "old codgers" like myself to follow the content
@abhishekpandey190
@abhishekpandey190 9 жыл бұрын
I have learnt creating and using class module and their scope form this channel video.Very good content and conceptual. Got clear understanding about class module after these two videos. Planning to learn much more form this channel.Thanks a lot and keep creating such kind quality content videos
@loveroflife2157
@loveroflife2157 7 жыл бұрын
Very useful video again. Amazing tutoring skills you got.
@janezklun
@janezklun 3 жыл бұрын
Great class, thank you, Cheers
@WiseOwlTutorials
@WiseOwlTutorials 3 жыл бұрын
Thanks Janez, glad you enjoyed it!
@12345TNY
@12345TNY 6 жыл бұрын
Thank you, you are good teacher!
@shahimkhlaifat
@shahimkhlaifat 9 жыл бұрын
classes thing reminds me of one famous meal of china, just hear the name of it 明珠酥鮑 or in English it is "Bright Pearl Abalone" all of these terms and considerations of things can be replaced by just saying "Rice meal" and that's it. after all of these tutorial that I had learned I came to the point that classes are just things that big software companies has created to not let people use their functions alone. every developer I have met, is saying the same thing. Dark Ages programming someone was saying thank you Andrew
@yehia3amer
@yehia3amer 10 жыл бұрын
you Know what, you Saved my Life Thanks soooooo much :D
@nunoponts7951
@nunoponts7951 10 жыл бұрын
u're just awersame !
@imranbhatti8580
@imranbhatti8580 5 жыл бұрын
Hi Andrew. Nice explanation. What if we want to use the class of another instance of Excel?
@giorgikavtaradze9504
@giorgikavtaradze9504 9 жыл бұрын
Hi, can we use a personal macro workbook to store our class modules in rather then using Add-In?
@davegoodo3603
@davegoodo3603 7 жыл бұрын
Hi Andrew, great video as always. I’m wondering if you know this process with Access, and would you mind pointing me in the right direction please? I’m creating a class in Access that I would like to use in other projects, thanks.
@davegoodo3603
@davegoodo3603 7 жыл бұрын
WiseOwlTutorials Thanks very much Andrew.
@cormackeenan8175
@cormackeenan8175 5 жыл бұрын
I vaguely remember that you could save a workbook with modules to a particular file type that exposed them to the excel system was I dreaming...
@Monduras
@Monduras 9 жыл бұрын
so it's all a bit confusing on why you have to create two separate public functions to instance the two classes to the other project? isn't it exactly equivalent to just using set f = new film ??? so confusing why have to add so much code overhead.
@user12345654
@user12345654 2 жыл бұрын
Instancing property PublicNotCrearable does not allow creating an instance from another project. So, instances of classes had to be created in this way.
@Dexter101x
@Dexter101x 3 ай бұрын
Unfortunately, there's no way in office 365 to do the same, which is unfortunate
@Dexter101x
@Dexter101x 3 ай бұрын
Just found it, its now "Excel Add-ins" rather than just Add-ins
@WiseOwlTutorials
@WiseOwlTutorials 3 ай бұрын
@@Dexter101x You beat me to it!
@Dexter101x
@Dexter101x 3 ай бұрын
@@WiseOwlTutorials any chance of tutorial for python in excel? The preview of python is available now in excel
@WiseOwlTutorials
@WiseOwlTutorials 3 ай бұрын
@@Dexter101x We might do! I haven't had chance to look at it yet.
Excel VBA Introduction Part 37 - Custom Collections
25:23
WiseOwlTutorials
Рет қаралды 52 М.
Excel VBA Introduction Part 35 - Class Modules
59:32
WiseOwlTutorials
Рет қаралды 158 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 108 МЛН
Happy birthday to you by Secret Vlog
00:12
Secret Vlog
Рет қаралды 5 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 36 МЛН
VBA Classes - The Definitive Guide
31:03
Data Ben
Рет қаралды 36 М.
How to Build a Trading Simulator using Excel VBA
59:48
Excel Macro Mastery
Рет қаралды 43 М.
Excel VBA Introduction Part 55.1 - Working with Dates
46:57
WiseOwlTutorials
Рет қаралды 41 М.
How To Create a Class Module in VBA
8:34
Sean Johnson
Рет қаралды 66 М.
How to Use Class Interfaces in Excel VBA
20:16
Excel Macro Mastery
Рет қаралды 81 М.
Excel vba class module tutorial 2024
46:45
Sean Johnson
Рет қаралды 1 М.
Excel VBA Introduction Part 39 - Dictionaries
26:24
WiseOwlTutorials
Рет қаралды 59 М.
Class Modules in VBA: Made Super Simple
17:43
Excel Macro Mastery
Рет қаралды 35 М.
Learn How to Use Properties and Methods in Excel VBA Effectively
13:09
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 108 МЛН