+ Reply to Thread
Results 1 to 3 of 3

Copy formula to second last row of sheet - VBA Macro

  1. #1
    Registered User
    Join Date
    02-16-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    6

    Copy formula to second last row of sheet - VBA Macro

    Need, a macro to copy formula to second last row of the sheet and delete the last row

    Example:

    I have sheet which has data on column from A to H and in Rows from 1 to 10. In column H i want to insert formula =(G2-G3)/G3 and copy this formula (as values) till Row 9 and delete Row 10

    As data in sheet always changes, sometime it has 10 row, sometime 50 row, i try to record Macro, but didn't work

    Any help will be highly appreciated

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,719

    Re: Copy formula to second last row of sheet - VBA Macro

    Will this work?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-16-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Copy formula to second last row of sheet - VBA Macro

    Thankyou so much, works perfectly

+ 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