+ Reply to Thread
Results 1 to 3 of 3

VBA code to create new year and copy down formulas

  1. #1
    Registered User
    Join Date
    01-11-2014
    Location
    Glasgow
    MS-Off Ver
    Excel 2010
    Posts
    2

    VBA code to create new year and copy down formulas

    Hello

    I am hoping that can someone can point me n the right direction. I am working on a forecasting sheet where I have the data up to 2012 (in quarters i.e. periods 1, 2, 3 and 4) and have created subsequent columns with formulas which flow down. Can anyone advise a VBA code which I could use to add another set of rows (another year (with quarters)), which would pull down the formulas from the last row above set in each of the columns along the spreadsheet? Ideally I would like to set up a button which I would click and this would another another year as and when required and the formulas would flow down (from the previous year / last quarter). I have tried to record a macro but it doesn't seem to work correctly. I have attached the spreadsheet for example.

    Thanks

    KTW
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: VBA code to create new year and copy down formulas

    Hi,

    The following is one way:

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-11-2014
    Location
    Glasgow
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: VBA code to create new year and copy down formulas

    Hi Richard

    Thanks for your help - it worked!

    KTW

+ 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. [SOLVED] How to automatically create more rows and copy formulas
    By peri1224 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-21-2012, 11:22 AM
  2. Create New row in a table and copy/update formulas VBA
    By whitenoise22 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-25-2012, 03:07 AM
  3. VBA code to create formulas referencing cells in another workbook
    By new.vbacoder in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-09-2010, 05:11 PM
  4. Create clone copy of spreadsheet for a new year
    By DarCady in forum Excel General
    Replies: 5
    Last Post: 09-12-2009, 07:11 PM
  5. Replies: 0
    Last Post: 09-12-2009, 11:07 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