+ Reply to Thread
Results 1 to 5 of 5

Append data from WS2 to WS1

  1. #1
    Registered User
    Join Date
    03-27-2012
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    1

    Wink Append data from WS2 to WS1

    I'm pretty new with using VBA overall and I was hoping to get some guidance on vba code.

    I have a workbook called Student with 2 worksheets, (WS1 - "Roster"), (WS2 - "New")

    On a daily basis, data gets entered in WS2 and needs to get APPENDED to the bottom of the WS1.

    I have this macro but i'm not sure why it gives me a runtime error:

    Please Login or Register  to view this content.

    PLEASE HELP
    Any input is greatly appreciated!
    Last edited by arlu1201; 06-13-2012 at 11:13 AM. Reason: Code tags

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,583

    Re: Append data from WS2 to WS1

    It'd be easier to check, test and correct with a sample of the workbook.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


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

    Re: Append data from WS2 to WS1

    Try this
    Please Login or Register  to view this content.
    Last edited by arlu1201; 06-13-2012 at 11:34 AM. Reason: Changes to code
    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]

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,583

    Re: Append data from WS2 to WS1

    @Arlette: my impression was that data was added to the New workbook and appended to the Roster.

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

    Re: Append data from WS2 to WS1

    Thanks TMS. Sheet confusion Got it corrected.

+ 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