+ Reply to Thread
Results 1 to 3 of 3

Copy and paste of dynamic range

  1. #1
    Registered User
    Join Date
    12-12-2013
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    92

    Copy and paste of dynamic range

    I didn’t know where to start when creating this macro. In columns A and B I have data. Column A has names and events. All names are listed as NAME: Frank, NAME: Bob, NAME: Fred. All events are Up, Down, Free. Sometimes a rep may have one, or multiple events. Column B is Time. The dynamic range would be from NAME: Bob to the column above NAME: Fred.

    So if A6 was NAME: BOB. A7 Free, A8 Up, A9 Free, A10 Down A11 NAME: Fred.
    I would want to copy A6 to B10. This data would paste in C1.

    If A11 is NAME: Fred, and A12-A17 is Free, Up and Down. A18 is NAME: Frank. Copy A11 to B17.
    This data would paste in E1.

    I am not able to add a copy of the workbook and hope my explanation helps.
    Let me know if you have questions.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,659

    Re: Copy and paste of dynamic range

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    12-12-2013
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: Copy and paste of dynamic range

    This is awesome! Thank you so much for the help.

+ 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 in dynamic range
    By mangeshp4 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2016, 07:31 AM
  2. Conditional Copy/Paste Dynamic Range
    By dyoo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2015, 09:43 PM
  3. Conditional Copy/Paste Dynamic Range
    By dyoo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2015, 10:43 AM
  4. [SOLVED] Copy/Paste Dynamic Range
    By RedStick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-28-2014, 03:38 PM
  5. [SOLVED] Copy and Paste Dynamic Range
    By VKS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2013, 11:14 AM
  6. Copy dynamic range from previous sheet and paste after last used row in a range
    By Mistweaver in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-04-2010, 06:24 PM
  7. Copy and paste dynamic range
    By wpryan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-16-2010, 09:42 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