+ Reply to Thread
Results 1 to 2 of 2

VBA Code to copy data from last filled column and paste to the next available column.

  1. #1
    Registered User
    Join Date
    04-09-2012
    Location
    Greenville, SC
    MS-Off Ver
    Excel 2010
    Posts
    1

    Unhappy VBA Code to copy data from last filled column and paste to the next available column.

    Good day everyone,

    I am new to this forum so please forgive me if this problem is already solved. I am developing a financial analysis tool in Excel for my place of employment. My biggest issue is that I want to add subsequent years to the right. For instance, columns A, B, C might be years 2008, 2009, 2010. When we have 2011 numbers, I would like copy the formulas used in column C and paste them to Column D. When 2012 #'s are available, the macro would copy the formulas from column D and paste them to Column E. I have searched and searched for a solution but have yet to find one. Your help is greatly appreciated.

    Take care,

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: VBA Code to copy data from last filled column and paste to the next available column.

    Hello Pavman2473,

    Welcome to the Forum!

    To get an answer more quickly, you should post some before and after examples of the data. If at all possible, posting a copy of the workbook is best. If your data contains confidential information, please remove it before you post it.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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