+ Reply to Thread
Results 1 to 5 of 5

Copy to last cell

  1. #1
    Registered User
    Join Date
    04-26-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    14

    Copy to last cell

    Hi

    I have the following code to copy a formula from Cell J2 into Cell J3 then the rest of the column until the last row used in column I


    How can i amend it so it will work in any work sheet by copying the formula from the cell above into the active and then the rest of the column until the last row in the column to the left?
    Please Login or Register  to view this content.

    Thanks
    Last edited by matth3881; 01-23-2019 at 01:26 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: Copy to last cell

    Maybe this will help

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: Copy to last cell

    Or maybe I misunderstood ...

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-26-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: Copy to last cell

    Quote Originally Posted by TMS View Post
    Or maybe I misunderstood ...

    Please Login or Register  to view this content.
    Thank you, this is exactly what I was looking for

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: Copy to last cell

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. vba to copy certain elements in cell comments & copy to offset cell in same row
    By sureng20 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2017, 11:03 PM
  2. vba to copy and insert row and copy/paste cell value if cell not blank!
    By GaryDML in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2014, 02:17 AM
  3. [SOLVED] Macro to copy cell width to new sheets (ie copy original sheet format)
    By teenyjem in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2013, 07:28 AM
  4. [SOLVED] How to copy data in a cell in Sheet1 to a cell in Sheet2 using =COPY( )?
    By Mr D Relf in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-17-2013, 10:39 AM
  5. copy a specif cell value, find another like that in sheet copy adjacent cell and pate
    By smwaqas89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2013, 10:00 AM
  6. [SOLVED] copy cell to another cell, increment and copy back.
    By Tathagata in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-18-2012, 07:59 PM
  7. Copy one cell to an other but colors do not copy. While not using clipboard to copy.
    By chuckchuckit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2010, 03:08 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