+ Reply to Thread
Results 1 to 6 of 6

Run-time error '438' -- Object doesn't support this property or method

  1. #1
    Forum Contributor
    Join Date
    04-24-2004
    Location
    Wisconsin, USA
    MS-Off Ver
    2007
    Posts
    100

    Run-time error '438' -- Object doesn't support this property or method

    .
    HELP - PLEASE HELP!!!


    I started to receive a Run-time error- '438' -- Object doesn't support this property or method.

    This worked perfectly last night. However, when I tried to open the file(s) today I received the error. There are numerous backups of this file at different stages in its development all producing the same error. I tried opening the file on three other machines all worked perfectly. So apparently something changed on my machine, not the worksheet. All machines are running Office2007 on Windows 10

    I did a few things to see if I could repair it.

    1. Thinking maybe Microsoft may have done an update overnight, I did a "system restore" - but no help
    2. I uninstalled/reinstalled MS Office twice - still no help.
    3. I looked online for suggestions. I only found solutions addressing the Excel file, not a system problem. I do not believe this is a file problem, maybe an application issue although I did a reinstall.

    Any suggestions would be GREATLY appreciated.
    Thanks for viewing.

    - - - - - - - - - - - - - - - - - - - - - - - - - -

    UPDATE -

    I did a reinstall of Windows 10 yesterday. After much hassle as expected, I did get it to work. However, when I opened the Excel file this morning the exact same error appeared. Again, I assume Microsoft did an update as I did nothing during the night. I really can't keep reinstalling Windows.

    I posted this on MrExcel. I did receive some suggestions but nothing is working. I'm posting here also because I'm hoping the more eyes the better chance of resolving this. I am in a real bind here.
    https://www.mrexcel.com/board/thread...ethod.1273681/

    Thanks for viewing,
    Steve K.
    Last edited by 6StringJazzer; 07-02-2025 at 10:40 AM. Reason: title

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,288

    Re: HELP!!! - Run-time error '438' -- Object doesn't support this property or method.

    This is a VBA runtime error so I am moving your question to the VBA forum.
    I do not believe this is a file problem
    I get that but we have no hope of helping unless we have your file. At a bare minimum we need all of the code in the file, and an indication from you of which line of code is highlighted when the error occurs.

    Thank you for including a link to the cross-post. MrExcel also requires this.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    04-24-2004
    Location
    Wisconsin, USA
    MS-Off Ver
    2007
    Posts
    100

    Re: HELP!!! - Run-time error '438' -- Object doesn't support this property or method.

    Thank you Jeff for getting back to me.

    I can post the file. However, it is quite large (1.4MB) and the coding is quite sloppy as I am not a programmer. My biggest concern here is the file runs great on all other machines I tested it on. Plus it worked perfectly when I closed it and went to bed. However, this morning the problem is back. So apparently something happens during the night (or some long down time). Again, I assume this was some Microsoft update or something - nothing to do with the Excel file specifically.

    The project is a work in progress. All someone has to do is open the file - the error appears immediately. They don't have to do anything else.
    Now, maybe this has something to do with Office2007. But again, why would it work perfectly on all other machines running Excel2007. I do have access to a newer version of Office. However, the user I am doing this for is running 2007.

    I can post a portion of the code that is bombing. I believe the first line it is bombing on is Sheets("Amortize").cmdTitle.Visible = True in my AutoOpen routine. However, even if I remark that out, then it fails somewhere else.

    Here is the routine -
    Please Login or Register  to view this content.
    NOTE - This site states I do not have posting permission. How do I proceed. Also, can I post a file this large (1.4MB)?

    Thanks,
    Steve K.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,288

    Re: Run-time error '438' -- Object doesn't support this property or method

    We limit Excel files to 1MB but you can zip it. We allow zip files up to 9.77MB. Don't ask me why.

    I have not used AutoOpen. Instead I use Workbook_Open in the ThisWorkbook module. I'm not saying there's anything wrong with what you're doing, but I am not familiar with any quirks it may have. Have you tried disabling it (renaming it) and then manually running it once the file has fully opened?

    Sheets is a collection that can contain Worksheet and Chart objects. What is Amortize? In either case, neither of those object have a method or property named cmdTitle. That's why you are getting that runtime error. I do not understand how this could have ever worked under any circumstances. Where did you get cmdTitle from, and what are you trying to do with that line of code?

  5. #5
    Forum Contributor
    Join Date
    04-24-2004
    Location
    Wisconsin, USA
    MS-Off Ver
    2007
    Posts
    100

    Re: Run-time error '438' -- Object doesn't support this property or method

    cmdTitle is a command button on the Amortize sheet. If clicked it returns the user to the main Amortize sheet. In some instances, there may be hidden rows. When clicked it unhides all rows.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,288

    Re: Run-time error '438' -- Object doesn't support this property or method

    OK, that should have been obvious but I wasn't thinking. So for the error to occur on that line, it appears that the runtime does not recognize the existence of the command button. Is it ActiveX? Do you have ActiveX enabled in the trust center? IN 365 Microsoft is setting the default to disabled, but that wouldn't apply to Office 2007.

+ 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. [SOLVED] Run-Time error 438 object doesn't support this property or method
    By josros in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-25-2022, 08:19 PM
  2. Run-time error '438' Object doesn't support this property or method
    By AFaolan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2017, 02:24 PM
  3. [SOLVED] Getting run-time error object doesn't support this property or method
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-22-2015, 02:14 AM
  4. [SOLVED] Run time error 438: Object doesn't not support this property or method.
    By Biya Syuhada in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-17-2015, 01:40 PM
  5. Run-time error '438': Object doesn't support this property or method
    By ThaGreenMoose in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2011, 01:17 PM
  6. Run-Time Error '438' - Object doesn't support this property or method
    By rajibyumnam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-26-2011, 03:24 AM
  7. Run-time error '438': Object doesn't support this property or method
    By ophelia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2007, 05:27 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