+ Reply to Thread
Results 1 to 4 of 4

VBA Last Row - Copy 2 specific cells in the last row of data

  1. #1
    Registered User
    Join Date
    10-09-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    VBA Last Row - Copy 2 specific cells in the last row of data

    I am trying to copy 2 specific cells in the last row of data using the following:
    Please Login or Register  to view this content.
    Not sure what i have to change on the 2nd line for this to work.

    Any ideas?
    Last edited by Leith Ross; 10-09-2013 at 12:55 PM. Reason: Added Code tags

  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 Last Row - Copy 2 specific cells in the last row of data

    Hello Timmi P,

    Welcome to the Forum!

    Change the second line to this. You don't need the comma, only the colon.
    Please Login or Register  to view this content.
    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!)

  3. #3
    Registered User
    Join Date
    10-09-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: VBA Last Row - Copy 2 specific cells in the last row of data

    Cheers for that, simple but effective!

    Thanks again, works great now!

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: VBA Last Row - Copy 2 specific cells in the last row of data

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Replies: 7
    Last Post: 07-16-2013, 06:47 AM
  2. Copy data from a website into specific cells
    By Consty1 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-19-2013, 06:11 AM
  3. VBA - copy data from one sheet to Specific Cells
    By jcicero57 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-18-2013, 12:14 PM
  4. Macro to Copy specific ( Different cells ) data to another workbook
    By vaibhav2312 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2012, 01:05 AM
  5. Replies: 5
    Last Post: 07-03-2012, 03:54 PM

Tags for this Thread

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