+ Reply to Thread
Results 1 to 4 of 4

Macro to Copy and Paste a Column to the next available empty column

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    california, usa
    MS-Off Ver
    Excel 2010
    Posts
    33

    Macro to Copy and Paste a Column to the next available empty column

    I have Excel 2010 --- I have a spreadsheet that contains a simple table. Depending on the circumstances, the table can have just the 4 columns, or it may need to have 6, 8, to 20 columns. I want to take Column from E10 to E30 and copy that and paste it into the next available empty column, sometimes the empty column will be F, or H, depends how many columns are currently in the table. I also want the Event number to continue when column is pasted. So, currently the column is Event1, Event2, Evernt3, and Event4. When the next column is added, I wasnt it to be Event 5, Event6, etc.

    I have tried numerous macros, but cannot get this done. Thanks for help.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Macro to Copy and Paste a Column to the next available empty column

    May be this...

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    04-02-2013
    Location
    california, usa
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Macro to Copy and Paste a Column to the next available empty column

    This works great! Do you know how I can get the headings to number consecutive when pasting in? The column headings are Event1, Event2, Event3, and Event4. How do i get the next column when pasted in to be Event5, Event6, etc. ???

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Macro to Copy and Paste a Column to the next available empty column

    Please confirm the start column of Event1 so that we can calculate the Event Numbers of the current end column. At the same time please confirm in which cell the event headings needs to be shown?

+ 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