+ Reply to Thread
Results 1 to 3 of 3

Method Range of object Global failed

  1. #1
    Forum Contributor
    Join Date
    10-25-2011
    Location
    Preston, England
    MS-Off Ver
    Excel 2016
    Posts
    136

    Method Range of object Global failed

    Hi,

    I've got an oddity with some VBA. I'm using the following code to copy a formula down a dynamic range in some data copy/pasted from another workbook. I've used this many times before and even other places in this workbook. I've even copied the code from a known working section in this same workbook but I'm getting an error in the highlighted line. "Run-time error 1004 - Method Range of object Global failed"

    Please Login or Register  to view this content.
    Oddly, I've just tried to copy/pastevalues in case it was something funky in the data and although the data has pasted it has also thrown another 1004 error "Unable to set the PasteSpecial property of the worksheet class".

    Any ideas? Cheers
    Last edited by radddogg; 11-09-2016 at 10:31 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,952

    Re: Method Range of object Global failed

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    10-25-2011
    Location
    Preston, England
    MS-Off Ver
    Excel 2016
    Posts
    136

    Re: Method Range of object Global failed

    Quote Originally Posted by TMS View Post
    Please Login or Register  to view this content.
    Thanks for this. Works perfectly. No idea why the original line works elsewhere but not 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. [SOLVED] Error - Method 'range of object' - Global failed
    By highlystrung in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-05-2015, 06:18 AM
  2. Autofilling in a macro and it gives Method 'Range' of object 'Global' failed
    By jsmilke in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2014, 03:55 PM
  3. [SOLVED] Method range of object global failed
    By darahsten in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-29-2013, 12:06 AM
  4. Method Range of object global failed
    By paddingtonstation in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2012, 07:33 AM
  5. Run-time error '1004': Method 'Range' of object 'Global' failed
    By djwestholm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2012, 04:52 PM
  6. Run-time error '1004': Method 'Range' of object '_ Global' failed
    By mdvc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-20-2011, 11:48 AM
  7. runtime error 1004 method range of object global failed
    By dreamz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2006, 03:25 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