+ Reply to Thread
Results 1 to 4 of 4

Copy till last row 4 columns

  1. #1
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    317

    Copy till last row 4 columns

    Hi Guys

    I have been trying to copy four columns to the last row. I can get one row but despite all my trials I can't get four. I expect its simple. I have uploaded an Excel file with two sheets. What I have and what I want. The actual sheets varies in length and this will be party of a larger Macro.

    Thanks in advance.

    Mark
    Attached Files Attached Files

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

    Re: Copy till last row 4 columns

    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
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Copy till last row 4 columns

    try this if columns are adjacent.. If workbook contains huge data don`t forget insert ActiveWorkbook.Save code to take effect of formulae..

    In following code it is assumed that Col A contains max row otherwise use ApplicationMax Worksheet function..
    Please Login or Register  to view this content.
    Last edited by mangesh.mehendale; 08-08-2015 at 08:46 AM.
    Don`t care, take care...

    Regards,
    Mangesh

  4. #4
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    317

    Re: Copy till last row 4 columns

    Hi AlphaFrog & Mangesh Mehendale

    Thank you for your help. Both solutions work almost instantly. I know I have said it before but every time I am helped I am so appreciative and aware of how considerate people all around the world are. Thenk you very much. I will now use and study both so i can understand them and use them again.

    Mark

+ 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. Sum till the column till the date match
    By ursanil in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-02-2014, 06:29 AM
  2. [SOLVED] Copy range downwards till certain cell
    By Jonathan78 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-25-2013, 12:44 PM
  3. Copy entire selected column to next columns till last column
    By siroos12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2013, 05:20 AM
  4. Replies: 3
    Last Post: 11-20-2012, 02:25 PM
  5. Stop running till the columns are deleted!
    By casperzero in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2012, 02:19 AM
  6. copy till last used range
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-02-2012, 10:24 AM
  7. Deleting columns in all Worksheets till u get value
    By vicky_excel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-23-2010, 03:53 AM
  8. copy rows from 2nd row till the next non blank row
    By aravindhan_31 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2010, 09:43 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