+ Reply to Thread
Results 1 to 2 of 2

HELP with error 1004, Please.

  1. #1
    Registered User
    Join Date
    01-24-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    20

    HELP with error 1004, Please.

    Ok, Im trying to copy some data from closed workbook to the current active woorkbook. I get to the point where code is reading data from closed workbook and can paste it into sheet2 in that workbook. This is my new code:

    Please Login or Register  to view this content.



    But once I change that part of code:


    Please Login or Register  to view this content.

    into that code:




    Please Login or Register  to view this content.

    It stop working issuing error: "subscription is out of range".
    File general.xlsx is an empty file which is closed as well.

    When I change code into:



    Please Login or Register  to view this content.
    It then issue an error: "1004 cannot change part of merged cell".
    File "Your Idea.xlsm" is the file from which I running this script.

    Any help with this problem?

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: HELP with error 1004, Please.

    You cannot paste to a closed file. And get rid of merged cells - they are a pain as you can see.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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