+ Reply to Thread
Results 1 to 3 of 3

runtime error 438 "object doesn't support this property or method"

  1. #1
    Registered User
    Join Date
    06-10-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    37

    runtime error 438 "object doesn't support this property or method"

    I have attached images of the errors that I'm getting. I feel like there shouldn't be anything necessarily wrong with this code. I'm using it to hide some rows based off a drop down list selection.
    The debugger is pointing me to the line "Sheets("HARTLAND").Rows("73:150").Visible = True" as being the source of the problem. Any help would be appreciated!
    Please Login or Register  to view this content.
    Capture1234.pngCapture123.png

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: runtime error 438 "object doesn't support this property or method"

    Sheets("HARTLAND").Rows("73:150").EntireRow.Hidden = True

  3. #3
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: runtime error 438 "object doesn't support this property or method"

    Try replacing .Visible with .Hidden

    I agree that the syntax seems inconsistent.

    Lewis

+ 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. "Run time error 438, Object doesn't support this property or method."
    By dobracik in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-12-2015, 09:56 AM
  2. VBA "object doesn't support this property or method" error
    By mfortier3 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-08-2014, 09:37 PM
  3. Replies: 3
    Last Post: 04-17-2014, 11:16 AM
  4. [SOLVED] Experiencing "Run Time Error 438: 'Object doesn't support this property or method'"
    By BYizz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-29-2013, 05:44 PM
  5. Replies: 12
    Last Post: 11-25-2012, 02:33 PM

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