+ Reply to Thread
Results 1 to 3 of 3

Debugging Error (2007 vs 2010)

  1. #1
    Forum Contributor dagindi's Avatar
    Join Date
    06-02-2008
    Location
    New York, NY
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    295

    Debugging Error (2007 vs 2010)

    Good afternoon,

    I have a macro (written using 2007) with the following code

    Please Login or Register  to view this content.
    When the macro is run in Excel 2010 we get a Run-time error '438': Object doesnt support this object or method

    Not sure how to fix this so any help would be greatly appreciated.

  2. #2
    Forum Contributor dagindi's Avatar
    Join Date
    06-02-2008
    Location
    New York, NY
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    295

    Re: Debugging Error (2007 vs 2010)

    I should add the the ClearHeader macro is being called another macro

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

    Re: Debugging Error (2007 vs 2010)

    You could try this to make sure you are actually clearing the range 'fields_header'.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

+ 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. File works in 2007 but gets compile error in 2010
    By fastcar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2013, 11:10 AM
  2. [SOLVED] Error when trying to use code that works in Excel 2007 to 2010
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2012, 10:38 AM
  3. Excel 2010 Ran out of resources while calculating error (but not in 2007)
    By wilki24 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-02-2012, 08:02 PM
  4. macro compile error in 2007 (not in 2010)
    By rvrajendra in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-19-2012, 06:25 AM
  5. Pasting (charts) error from 2003 to 2007 (and 2010)
    By tmd2 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 02-03-2011, 03:44 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