+ Reply to Thread
Results 1 to 6 of 6

Creating Objects

  1. #1
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Creating Objects

    I've been using the Scripting.FileSystemObject class for sometime a bit blindly and have notices that there are several other classes available (e.g. InternetExplorer.Application), but Excel 2003 does not do a good job of allowing Object browsing or providing help documentation on these classes. Can someone give me a pointer to the various classes that are accessible to VBA so I don't have to poke around so much?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Creating Objects

    If you set a reference in the VBE to the library of interest (Microsoft Scripting Runtime in the case of the FileSystemObjecty object), then you can look at an object's properties and methods in the Object Browser.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Creating Objects

    Hi Blane,

    A good start, while it's a lot of information, is here at MSDN:

    http://msdn.microsoft.com/en-us/libr...ffice.11).aspx

    This is the Excel 2003 VBA Language Reference site. You can expand the tree on the left to show the References to Collections, Objects, Methods, etc. It can be quite daunting, and not always the easiest to find things if you're not sure of what you're looking for, but it can provide a wealth of information.

  4. #4
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Re: Creating Objects

    shg, Thanx. I thought it was something like that, though I can't seem to find the type library for Internet Explorer. How do they relate CreateObject("Scripting.FileSystemObject") to the type library that you called out? Is there any documentation on this type library

    Paul, I've already got my hands around the classes on Excel VBA. What I need is to get my hands around those type libraries that I can reference.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Creating Objects

    the type library for Internet Explorer
    http://vba-corner.livejournal.com/4623.html?

  6. #6
    Valued Forum Contributor blane245's Avatar
    Join Date
    02-20-2009
    Location
    Melbourne, FL
    MS-Off Ver
    Excel 2010
    Posts
    649

    Re: Creating Objects

    go figure. Where do people get these things? Hip pocket, huh? Google? msdn? Stiil want to know how VBA translates "InternetExplorer.Application" into "Microsoft Internet Controls"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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