+ Reply to Thread
Results 1 to 5 of 5

Copy Data from Closed File to Existing File

  1. #1
    Registered User
    Join Date
    02-14-2012
    Location
    hyderabad
    MS-Off Ver
    Excel 2003
    Posts
    22

    Copy Data from Closed File to Existing File

    Hi All,

    I have created a macro for following functions.

    1. Open the Workbook
    2. Copy data (from C12 : D12 to Active cells)
    3. Paste the data in already opend sheet. Paste from the next empty cells.

    When am using the macro in Module, It is Working, however when i have assigned the Button, it is not working and showing at

    Please Login or Register  to view this content.

    Error message " Run Time Error '1004' Select method of Range Class Faild (Value of "1048576")

    Complete Code is below:

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    02-14-2012
    Location
    hyderabad
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Copy Data from Closed File to Existing File

    Can someone help me for the above.

  3. #3
    Registered User
    Join Date
    02-14-2012
    Location
    hyderabad
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Copy Data from Closed File to Existing File

    Can someone help me for the above case

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy Data from Closed File to Existing File

    Is the macro located in the destination file?

    What do you mean by copy to active cells? Which cells will be active?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Copy Data from Closed File to Existing File

    Please Login or Register  to view this content.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ 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