+ Reply to Thread
Results 1 to 2 of 2

Does the CreateObject method follow any specific syntax?

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    77

    Does the CreateObject method follow any specific syntax?

    For instance, at first I thought that what went in the parentheses was the library and class separated by a period (Ex: "Scripting.Dictionary", "Scripting.FileSystemObject". However, when you use it for internet explorer it is "InternetExplorer.Application" instead of "SHDocVw.InternetExplorer". Is the syntax not standard and something you just need to look up every time? I will use early binding anyways but I'm just curious.

  2. #2
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Does the CreateObject method follow any specific syntax?

    After you've created an instance, you can insert a line:
    Please Login or Register  to view this content.
    to see if it displays anything different from the way you called it.

    But I think you can call CreateObject with just a plain "InternetExplorer" if that removes unwanted choices.

+ 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. Trying to get specific cells to follow value from another
    By shmac10 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-12-2015, 05:43 PM
  2. Need formula to follow a specific order, please help.
    By Darker0ne in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-09-2014, 04:43 AM
  3. User Specific - CreateObject("Word.Application") Fails
    By Thanley in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2013, 06:04 PM
  4. Replies: 2
    Last Post: 02-11-2013, 01:03 PM
  5. LOOKUP follow up (pull only specific column)
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2012, 11:34 PM
  6. [SOLVED] Find method syntax
    By Stefi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-27-2005, 10:05 AM
  7. Only CreateObject Syntax works.
    By Boomessh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2005, 09:07 AM

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