+ Reply to Thread
Results 1 to 7 of 7

VBA "object doesn't support this property or method" error

  1. #1
    Registered User
    Join Date
    11-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    24

    VBA "object doesn't support this property or method" error

    Hello,

    I keep getting the "object doesn't support this property or method" error for the code below and I can't figure out why. Any help is appreciated. Thanks.

    Please Login or Register  to view this content.

  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: VBA "object doesn't support this property or method" error

    May we know what line generates the error?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

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

    Which line of code is highlighted when you DEBUG?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    11-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    24

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

    My apologies. The line "Worksheets("Step 2").TextBox23.Visible = False" is highlighted yellow.

  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: VBA "object doesn't support this property or method" error

    That means you don't have an ActiveX control on that sheet with that name.

  6. #6
    Registered User
    Join Date
    11-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    24

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

    I think there is another issue because there is an ActiveX textbox on that sheet with that name. And after stopping the debuging process, the textboxes become hidden and unhidden based on the value in u10, so the code appears to be working in some fashion.

  7. #7
    Registered User
    Join Date
    11-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    24

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

    I figured out why the error is occurring. I changed the style of ComboBox1 to "2 - fmStyleDropDownList." Does anyone have a workaround that will allow me to keep the "DropDownList" style and not get the error?

+ 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. Replies: 3
    Last Post: 04-17-2014, 11:16 AM
  2. [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
  3. Replies: 12
    Last Post: 11-25-2012, 02:33 PM
  4. "Object doesn't support this property or method" No idea what is wrong
    By jtakaine in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-18-2012, 02:21 PM
  5. [SOLVED] Help "438 - Object doesn't support this property or method"
    By Jonthurston7 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-01-2011, 06:13 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