+ Reply to Thread
Results 1 to 6 of 6

Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook

  1. #1
    Forum Contributor
    Join Date
    12-19-2012
    Location
    Woodbridge, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    111

    Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook

    VBA Experts,

    I found this VBA code somewhere and tried implementing it in my workbook but am having trouble customizing it to my needs.
    This code does a very good job at copying everything on a specific worksheet and transferring it to a new workbook. However, what I can't figure out is how to get the code to copy data from A6 until it finds the last row with data in column E. I have specific formatting i.e. borders and colors which I would like to keep but would like the actual data to be values only (no formulas). Can someone please help me with this?

    Thank you so much in advance.

    J


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    12-19-2012
    Location
    Woodbridge, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    111

    Re: Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook

    Hi John,

    Thank you for your help and quick reply. I ran your code but it is still copying everything above A6 as well. Is there a way to copy everything below A6?

    Thank you again!

    J

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook

    Best too test this on a copy first:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    12-19-2012
    Location
    Woodbridge, Virginia
    MS-Off Ver
    Excel 2010
    Posts
    111

    Re: Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook

    Hey John,

    The clear contents didn't quite work but it lead me to an alternative solution which was to just delete rows 1 - 5 in the new workbook. I'm going to mark this as solved.

    Thank you again for your help!

    J

    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook

    You're welcome. Glad to help out and 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 TextBox data to Worksheet in specific range
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-28-2012, 07:13 PM
  2. Macros to transfer specific data from one workbook to another
    By Johnptry in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2012, 02:04 PM
  3. Transfer specific data from 1 worksheet to another using conditions
    By Chrisaaron in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 11-24-2010, 06:17 AM
  4. Transfer specific data on specific worksheet using userform
    By kriscar_44 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2010, 04:03 AM
  5. Replies: 1
    Last Post: 03-16-2006, 03:00 PM

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