+ Reply to Thread
Results 1 to 11 of 11

Copy paste several sheet's

  1. #1
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Copy paste several sheet's

    Hello

    Is it possible to make a VBA to copy and paste several different sheet's from diferent workbook's with several names (the workbook name is the same of da sheet), just to a sheet of another workbook.

    Cumps

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,791

    Re: Copy paste several sheet's

    Simple answer is yes. If you post a specific question, with a sample worksheet(s), then we could probably give you specific response.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Copy paste several sheet's

    Quote Originally Posted by alansidman View Post
    Simple answer is yes. If you post a specific question, with a sample worksheet(s), then we could probably give you specific response.
    Here goes example workbook's. the Livro10, Livro20 and livro30 most go to workbook Principal.

    cumps
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Copy paste several sheet's

    I found this excel here in the forum, and I am not able to do what I want. I managed to change the code for the macro to fetch the address of the spreadsheet workbook where the information are to copy and paste, that address is entered from a cell. I would do the same with the name of the spreadsheet to copy the way I did to the address of the workbook.

    someone can give me a hand?

    best regards
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy paste several sheet's

    Maybe:

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Copy paste several sheet's

    Quote Originally Posted by JOHN H. DAVIS View Post
    Maybe:

    Please Login or Register  to view this content.
    See my last post, above.

  7. #7
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Copy paste several sheet's

    Can any one help me.
    Please

    Regards
    Last edited by Birnen; 07-23-2014 at 01:34 PM.

  8. #8
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Copy paste several sheet's

    Can any one help me.
    Please

    Regards

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,791

    Re: Copy paste several sheet's

    Have you tested John's code? Does it work for you? If not, what do you want to do that it doesn't do for you?

  10. #10
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Copy paste several sheet's

    yes. it work's.

    but I have many worksheet's to copy, so for that it becomes a little slow.

  11. #11
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,791

    Re: Copy paste several sheet's

    Looking at your code, instead of changing the value in K3, you could list all the values (paths and files) in column K and then create a loop to do the copy and paste. That would speed things up, but it will require you to populate all the file names and paths.

+ 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. Replies: 6
    Last Post: 03-26-2014, 11:40 PM
  2. [SOLVED] Copy And Paste on Another Sheet ( next time paste data from empty row )
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2014, 02:29 AM
  3. Replies: 1
    Last Post: 01-07-2013, 12:23 AM
  4. Replies: 2
    Last Post: 02-22-2011, 02:07 AM
  5. Replies: 1
    Last Post: 01-04-2005, 06:06 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