+ Reply to Thread
Results 1 to 1 of 1

Union Range copy code works first time but generates RunTime Error 1004 on second bloc

  1. #1
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,407

    Union Range copy code works first time but generates RunTime Error 1004 on second bloc

    Code below copies and transposes non-contiguous data from ProdSheet Cols D - V to the relevant row in Col GM on the Database perfectly:

    Please Login or Register  to view this content.
    But adding a second "cycle" repeating the same process for a different bloc of data produces a RunTime 1004 Error - Method 'Range' of object'_Global' failed

    Please Login or Register  to view this content.
    Hope someone can see the problem?

    All solutions, suggestions and alternatives welcome as ever,

    Ochimus
    Last edited by Ochimus; 03-05-2019 at 03:47 PM.

+ 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] Code selecting cell with data generates 1004 error
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-21-2018, 08:27 AM
  2. WorksheetFunction.Vlookup Runtime Error 1004, But works in Excel Sheet.
    By hansaaa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2018, 11:52 AM
  3. [SOLVED] runtime error 1004 in copy and close workbook vba code
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2018, 03:23 PM
  4. [SOLVED] Runtime error 1004 range of object with VBA code for copying all worksheets to word
    By vtcin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-24-2014, 07:15 AM
  5. [SOLVED] Range error in code, runs alone but not inside my full program, giving runtime error 1004
    By charizzardd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-23-2012, 03:34 PM
  6. [SOLVED] Macro button generates "run time error 1004 [FileName] could not be found' msg
    By dawnmau in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-12-2012, 11:55 AM
  7. [SOLVED] range.offset generates a Run Time error 1004
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2006, 12:50 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