+ Reply to Thread
Results 1 to 2 of 2

Copy and paste ranges of cells based on values in column A

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    Utah, USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Copy and paste ranges of cells based on values in column A

    I'm having a very hard time with this one. Probably because I'm new, but any help would be appreciated.

    I am attempting to copy a range of cells. I need the range to start at A2 and go down and copy all used rows until the next cell in column A with text. I then need this to paste to another sheet. I need this to repeat with each set of data on the sheet and stop when it sees the word "Total" in Column A.

    I've attached the sheet so you can see what I mean. Column A is the supervisor, and column B is the employee. I need to copy the rows for each supervisor and the employees that report to them and paste it to another sheet.

    Please let me know if you have any idea how to select the cells using VBA.

    upload for help.xlsm

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

    Re: Copy and paste ranges of cells based on values in column A

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    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]

+ 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. Copy and Paste Values based on column data
    By Keste in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2014, 05:24 PM
  2. [SOLVED] copy Tabs, based on two criteria in column J and paste values
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-13-2013, 03:46 PM
  3. Formula to copy and paste data in cells to other cells based on values
    By haleakala17 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-11-2012, 08:45 AM
  4. Copy and paste based on found cells using two spreadsheets with dynamic ranges
    By shawnsonline in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2012, 02:49 PM
  5. Macro to copy and paste variable ranges according to values in a column
    By abinayan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2011, 11:11 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