+ Reply to Thread
Results 1 to 4 of 4

Copy column from Workbook1 to Workbook2 but starting from specific cell: Cant fix error

  1. #1
    Registered User
    Join Date
    04-21-2016
    Location
    aasd
    MS-Off Ver
    2013
    Posts
    6

    Copy column from Workbook1 to Workbook2 but starting from specific cell: Cant fix error

    Hi,

    as the title says what I need is to copy a column from one workbook to another but I need to paste that column starting from specific cell. E.g copy contents of A1:A10 of workbook1 sheet1 to B3:B13 in workbook2 sheet2. Here is the code but is giving me 'Subscript out of range' error:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    10-10-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    41

    Re: Copy column from Workbook1 to Workbook2 but starting from specific cell: Cant fix erro

    Try this.. You can replace xlPasteValues by xlPasteFormulas if the column contains formulas.
    Please Login or Register  to view this content.
    Vidya Palani

  3. #3
    Registered User
    Join Date
    10-10-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    41

    Re: Copy column from Workbook1 to Workbook2 but starting from specific cell: Cant fix erro

    Try this.. You can replace xlPasteValues by xlPasteFormulas if the column contains formulas.
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-21-2016
    Location
    aasd
    MS-Off Ver
    2013
    Posts
    6

    Re: Copy column from Workbook1 to Workbook2 but starting from specific cell: Cant fix erro

    It works now. Thanks!
    Last edited by eddthebed; 06-19-2016 at 10:41 AM.

+ 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. Find value from Workbook1 in Workbook2, HOffset and copy range data
    By Dill Pickle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-17-2016, 09:46 PM
  2. [SOLVED] Copy all rows from one Workbook1.Sheet2 to Workbook2.Sheet3 and append them
    By dubcap01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-23-2015, 06:18 AM
  3. How to bring data from workbook1 to workbook2 by comparing values of workbook2
    By amethystfeb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2013, 09:38 AM
  4. [SOLVED] macro for copy data Workbook1 and paste to Workbook2
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-09-2013, 11:22 AM
  5. VBA - Copy row from workbook1 to workbook2 based on string matching
    By TravisNeedham in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2012, 12:50 PM
  6. Data from workbook1 to workbook2 every week but in different place in workbook2
    By cheelie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2007, 06:26 PM
  7. Replies: 1
    Last Post: 05-18-2005, 09:06 AM

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