Consulting

Results 1 to 4 of 4

Thread: What's the difference between VBA.method vs Strings.method

  1. #1
    Administrator
    2nd VP-Knowledge Base
    VBAX Master malik641's Avatar
    Joined
    Jul 2005
    Location
    Florida baby!
    Posts
    1,533
    Location

    Question What's the difference between VBA.method vs Strings.method

    Hey all,

    Just curious to know what is the difference between VBA.method and Strings.method whose methods share the same name? Are there any other "???.method"'s that I don't know about which are built-in? Why have VBA.method and Strings.method when they seem to do the same thing?

    Thanks,
    Joseph




    New to the forum? Check out our Introductions section to get to know some of the members here. Feel free to tell us a little about yourself as well.

  2. #2
    Because strings.method only gives you methods pertaining to string operations and VBA.method gives you all others as well.
    Regards,

    Jan Karel Pieterse
    Excel MVP jkp-ads.com

  3. #3
    Administrator
    2nd VP-Knowledge Base VBAX Master malik641's Avatar
    Joined
    Jul 2005
    Location
    Florida baby!
    Posts
    1,533
    Location
    I see. From that I just noticed the Math.method.

    ...then I just noticed that they are found in VBA.classes. Is that right to say, "classes?" Strings, Math, Interaction, etc are classes?




    New to the forum? Check out our Introductions section to get to know some of the members here. Feel free to tell us a little about yourself as well.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    It is right with regard to the OB, but classes was a poor choice for the heading, as it contains much more, modules, constants, etc.

Posting Permissions

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