+ Reply to Thread
Results 1 to 4 of 4

Copy entire row EXCEPT column A

  1. #1
    Registered User
    Join Date
    09-06-2011
    Location
    Charlotte
    MS-Off Ver
    Excel 2003
    Posts
    4

    Copy entire row EXCEPT column A

    I found the following code which does almost what I want. Sheet4 has 6 columns of data, including blanks in some cells. Column A in Sheet4 has no blanks, and serves as a key to create new worksheets for each value in that column. In the first part of this code, it checks to see if any worksheets match the data in column a, and if not, it creates a worksheet with that name. After all of the worksheets are created, I need each row to be copied to it's corresponding worksheet, in the same format, including all blanks. I have that at this point. My problem is, when each row copies to the new sheet, it brings the value in column A with it. I need it to only copy each row, columns B through F from Sheet4 to the worksheet identified in column A in Sheet4. I know I need to replace the "EntireRow" entries with something else. Please help.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy entire row EXCEPT column A

    If all you need is B:F, then specify that in the copy command like so:

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 10-10-2012 at 08:36 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Copy entire row EXCEPT column A

    try
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-06-2011
    Location
    Charlotte
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Copy entire row EXCEPT column A

    No, neither of these are doing it. I'll give you some sample data if that helps.

    Please Login or Register  to view this content.

+ 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