+ Reply to Thread
Results 1 to 7 of 7

Macro to copy Data from Sheet1 from tow 3 in Col A & B to after last column on sheet 2

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,776

    Macro to copy Data from Sheet1 from tow 3 in Col A & B to after last column on sheet 2

    I have tried to amend some code so as to copy data from row3 in Col A & B and paste this after last Column on Sheet2, but cannot get a run time error "object required"

    Please Login or Register  to view this content.

    Your assistance in this regard is most appreciated

  2. #2
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Lightbulb Re: Macro to copy Data from Sheet1 from tow 3 in Col A & B to after last column on sheet 2

    Hi Howardc1001

    May be like this
    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,164

    Re: Macro to copy Data from Sheet1 from tow 3 in Col A & B to after last column on sheet 2

    Maybe
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831
    (remove as misreading, come back in a while)

  5. #5
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Try this !


    As a beginner starter :

    PHP Code: 
    Sub Copy_Data()
             
    C% = Sheet2.UsedRange.Columns.Count 1
        With Sheet1
    .[A3].CurrentRegion
            
    .Copy Sheet2.Cells(C)
             
    Sheet2.Cells(C).Resize(.Rows.Count, .Columns.Count).Columns.AutoFit
        End With
    End Sub 
    Do you like it ? So thanks to click on bottom left star icon « Add Reputation » !
    Last edited by Marc L; 04-18-2020 at 11:35 AM.

  6. #6
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,776

    Re: Macro to copy Data from Sheet1 from tow 3 in Col A & B to after last column on sheet 2

    Thanks for the help Guys

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,164

    Re: Macro to copy Data from Sheet1 from tow 3 in Col A & B to after last column on sheet 2

    You're welcome & thanks for the feedback

+ 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. [SOLVED] Copy Sheet1 few column data to sheet 2 selected column
    By rachelwahid in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-29-2020, 04:28 AM
  2. Copy data from sheet1 column with dynamic date, and copy data to second sheet column
    By Renaliiii in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-25-2016, 04:44 PM
  3. Replies: 6
    Last Post: 11-13-2015, 07:36 AM
  4. copy sheet 2 data as it is in sheet3 if column "B" matches in sheet1 & Sheet2
    By shloksurya in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2015, 09:35 PM
  5. Macro to copy row with same num (sheet1) and sum its column in another sheet
    By patua in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2014, 03:02 AM
  6. Copy certain data from Sheet1 to Sheet 2 based on values in a column on Sheet1
    By theglitch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2013, 01:28 PM
  7. Excel macro to copy data from Sheet1 row into Sheet2 column
    By peleong in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-12-2011, 10:56 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