+ Reply to Thread
Results 1 to 4 of 4

copy and paste data to another workbook vba

  1. #1
    Registered User
    Join Date
    03-13-2016
    Location
    peru
    MS-Off Ver
    2013
    Posts
    24

    Question copy and paste data to another workbook vba

    hi, i have this code,is a code for copy and paste in another workbook but i dont know how to select all the data that i will write and then copy and paste in another workbook. please help me with my code

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: copy and paste data to another workbook vba

    Hi,

    I think that your problem is here:

    Please Login or Register  to view this content.
    Try running your code without the .Select

  3. #3
    Registered User
    Join Date
    03-13-2016
    Location
    peru
    MS-Off Ver
    2013
    Posts
    24

    Re: copy and paste data to another workbook vba

    yeah thats one of my problems but do you know how can i select all the written data and then paste it into another workbook . after try many times i just select a range, but then another problem appears because first i copy in one sheet and after that in another and in the last sheet it select the range of the other sheet and write there and i dont know how to fix that
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: copy and paste data to another workbook vba

    Select your sheet first i.e.

    Please Login or Register  to view this content.

+ 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: 12
    Last Post: 10-28-2015, 11:48 PM
  2. [SOLVED] Macro to find data in source workbook and copy paste to target workbook
    By D.Lovell in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-23-2014, 06:21 AM
  3. Replies: 6
    Last Post: 03-26-2014, 11:40 PM
  4. [SOLVED] Code to copy data from a closed workbook and paste in active workbook using named range.
    By paullie1912 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-28-2014, 02:38 AM
  5. Replies: 6
    Last Post: 01-29-2013, 07:01 AM
  6. Copy/Paste range of data excluding certain rows and copy to another workbook
    By HoerbigAdm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-12-2012, 02:51 PM
  7. Copy data from workbook, create new workbook, paste data to new worbook?
    By mpkavanagh in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-16-2011, 06:39 PM

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