+ Reply to Thread
Results 1 to 2 of 2

Run Time Error 1004

  1. #1
    Registered User
    Join Date
    05-29-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    84

    Run Time Error 1004

    I get the above error when running my "consolidatesheets" Macro. Its the standard can't copy and paste b/c the paste area is not the same size and shape.

    The workbook has about 7 tabs of sales information that are identical in format. The macro just takes each tab and copies it into 1 tab so they are in 1 sheet to work with. Originally the macro was written for .xls but I updated all those references to .xlsx to be able to use it for reports that are longer than 65K lines. I made a note on the line that shows up in the debug screen.



    Please Login or Register  to view this content.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Run Time Error 1004

    I do not see any glaringly wrong. If it were me I would try to debug to see if the values are what I'd expect. I would try something like this immediately before the line that generates the error:

    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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