+ Reply to Thread
Results 1 to 3 of 3

VBA Copy Ranges from a Worksheet to a Workbook

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Miami, USA
    MS-Off Ver
    Excel 2007
    Posts
    32

    VBA Copy Ranges from a Worksheet to a Workbook

    Good afternoon Everyone,

    I'm hoping if I could get some. I'm not familiar on how to copying a sheet from one workbook and paste it to the next available row on another workbook. I hope my explanation is helpful.

    My active workbook name is called "Templates"
    The sheet from the active workbook I want to copy the information from is called "Year"
    The rows I would like to copy are A4:E10 and paste to the next available row on the other workbook, same columns
    The workbook path I would like to paste the information to is "C:\Users\Justin\Desktop\New Offices\2012 Offices.xlsx"
    The sheet in workbook 2012 Offices is called "Offices"

    Both workbooks have the same headers and start on the same row. Is there a way to make sure it finds the next available row when copying over to the next workbook so it does not delete any existing information?

    Any help would be appreciated.

    Justin
    Attached Files Attached Files
    Last edited by pinstripe05; 01-26-2013 at 11:45 PM.

  2. #2
    Registered User
    Join Date
    07-11-2012
    Location
    Miami, USA
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: VBA Copy Ranges from a Worksheet to a Workbook

    I'm not sure if this would help, but I have updated the excel spreadsheet so there are no blanks.
    Attached Files Attached Files
    Last edited by pinstripe05; 01-27-2013 at 11:14 AM.

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    Miami, USA
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: VBA Copy Ranges from a Worksheet to a Workbook

    Solved it. Thanks

+ 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