+ Reply to Thread
Results 1 to 5 of 5

Run-time error '1004' Method 'Range' of object'_Global' failed

  1. #1
    Registered User
    Join Date
    08-11-2014
    Location
    San Diego CA
    MS-Off Ver
    2010
    Posts
    3

    Run-time error '1004' Method 'Range' of object'_Global' failed

    Hey guys,

    So I'm new to this forum and extremely new to VBA/Macro's. Ive spent the past week searching for a solution to this error and after reading countless threads I still can't seem to figure out my specific problem. Any help would be amazing and thanks in advance! Here's a portion of the code along with where the error message gets put up.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by mbie451; 08-11-2014 at 02:28 PM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Run-time error '1004' Method 'Range' of object'_Global' failed

    can you attach a sample file ?
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    08-11-2014
    Location
    San Diego CA
    MS-Off Ver
    2010
    Posts
    3

    Re: Run-time error '1004' Method 'Range' of object'_Global' failed

    The goal I had was to use the dataCL and dataSW worksheets as a way to input rolling data that would update the main template worksheet. It first convert the range into a table, average everything out, and then reconvert it back into a range

  4. #4
    Registered User
    Join Date
    08-11-2014
    Location
    San Diego CA
    MS-Off Ver
    2010
    Posts
    3

    Re: Run-time error '1004' Method 'Range' of object'_Global' failed

    I actually realized my problem with the original post but now have run across another problem. Every time I click the button that is attached to the macro it changes the table name from LiftUpdater to LiftUpdater_1, LiftUpdater_2, etc. and wont recognize the rest of the code associated with the original table name. Is there any way to lock in the table name so it doesn't change?

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Run-time error '1004' Method 'Range' of object'_Global' failed

    Hi, mbie451,

    please have a look at Forum Rule #3 and add code-tags to your procedure from the opening post.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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 ‘1004’: Method ‘Range’ of ‘object’_Global’ failed.
    By dhiresh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2013, 12:04 PM
  2. [SOLVED] Run time error 1004: method range of object _global failed
    By Danry in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2012, 07:31 PM
  3. Run-time error '1004'. Method 'Range' of object '_Global' failed
    By mjj347 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-24-2012, 11:09 AM
  4. Run-Time Error 1004 Method Range of object _Global Failed?
    By MadDino in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-11-2011, 05:13 AM
  5. Run time error 1004 - Method 'Range' of 'Object'_Global' failed
    By excelaspire0219 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-10-2009, 01:18 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