+ Reply to Thread
Results 1 to 3 of 3

Understanding Class Modules

  1. #1
    Forum Contributor
    Join Date
    04-11-2005
    Location
    London
    Posts
    259

    Understanding Class Modules

    Hi

    In an effort to better my self taught programming, I've finally started reading up on setting up my own Classes, Inheritance etc., and I am struggling to get my head around it.

    I've read the chapter on classes in "Professional Excel Development" by Bullen Bovey and Green as well as a book on .NET and I just don't get it.

    SET, LET, GET - Aargh!

    Could anyone recommend a basic resource (on-line or a book) that puts it in such easy terms that even a numpty like me could understand.

    Thanks
    Martin
    Martin Short

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Hello Martin

    Don't confuse classes in VBA with classes in .NET - they are two different beasts. VBA doesn't really have Inheritance for one, whereas .NET is fully object oriented.

    I used to find VBA Classes very confusing - they are a pretty hard area of VBA to understand, but eventually it will all fall into place.

    I actually thought the Classes chapter in PED was very good, but I was coming from the position of already understanding them. Another resource which has superb chapters on Classes is the VBA Developer's Handbook by Getz and Gilbert. I'm not sure I would decribe it as a Beginner's introduction to classes though, but it is comprehensive.

    Richard

  3. #3
    Forum Contributor
    Join Date
    04-11-2005
    Location
    London
    Posts
    259
    Thanks Richard. Very much appreciated.

    You are right about P.E.D. though. It is excellent. I have spent a long time trying to source some decent intermediate to advanced material; stuff that that doesn't start by telling me how to record macros, set up loops, and select ranges.

    I'll look up Getz and Gilbert and see how I get on.

    Martin

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. class structures
    By stanigator in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-15-2007, 04:12 PM
  2. Lifetime and class modules
    By bettatronic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-28-2007, 09:34 PM
  3. How Do I use Class Modules in Excel VBA
    By gauss1976 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2007, 11:56 AM
  4. Class Module? Using an index?
    By Air_Cooled_Nut in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-18-2006, 06:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1