+ Reply to Thread
Results 1 to 6 of 6

VBA Error: Object doesnt support the property or method

  1. #1
    Registered User
    Join Date
    04-29-2013
    Location
    Beirut
    MS-Off Ver
    Excel OSX
    Posts
    38

    VBA Error: Object doesnt support the property or method

    Not sure what is wrong with this macro but I keep getting an error.
    On Excel for Windows, the error is "Run-time error 438 Object doesnt support the property or method". On Excel for Mac, the error is "Run-time error 439 Active X component cant create object".

    When I click on 'debug' it highlights this portion of the macro:
    Please Login or Register  to view this content.
    Here's the macro:

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA Error: Object doesnt support the property or method

    Where do you get the error?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    04-29-2013
    Location
    Beirut
    MS-Off Ver
    Excel OSX
    Posts
    38

    Re: VBA Error: Object doesnt support the property or method

    I get the error once I run the macro on excel. Also, the part of the macro that seems to be the cause of the problem is this line:

    Please Login or Register  to view this content.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA Error: Object doesnt support the property or method

    I can see that possibly being a problem on a Mac but not on a PC, is it definitely that line that errors in both?

  5. #5
    Registered User
    Join Date
    04-29-2013
    Location
    Beirut
    MS-Off Ver
    Excel OSX
    Posts
    38

    Re: VBA Error: Object doesnt support the property or method

    Well on Mac for sure. On PC I have no way to know as I can't debug :S. But yeah it's weird that the errors are different..

    Someone suggested I add a reference to the microsoft scripting runtime on Tools -> References. Well, I did that on Windows and the same error came up. On MAC I have no way to add that reference (microsoft scripting runtime) as it doesn't even appear! Could that be the problem, at least on MAC?

  6. #6
    Registered User
    Join Date
    04-29-2013
    Location
    Beirut
    MS-Off Ver
    Excel OSX
    Posts
    38

    Re: VBA Error: Object doesnt support the property or method

    Ok, I installed Office 2010 on Windows (using 2003 before). The error is still the same, but the line with the issue is the following according to the debug:

    Please Login or Register  to view this content.
    I enabled the microsoft scripting runtime and nothing changed. Perhaps I have to enable others as well?

+ 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