• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

copy/paste a cell into last row using vba

sheter

Member
Trying to create a timesheet to track hours on projects.

I'd like to be able to have VBA code that will copy cell A1 (which has =now() in it) and then find the last row of column "D" and paste the value without formatting.

Can this be done?

I've attached my file for reference.


Thanks,

sC.tt
 

Attachments

  • TIME_SHEET.xlsm
    23.7 KB · Views: 8
Hi !

Same but without any variable just in a single codeline :​
Code:
Sub Demo1()
    Sheet1.Cells(Rows.Count, 4).End(xlUp)(2).Value = Sheet1.[A1].Value
End Sub
Do you like it ? So thanks to click on bottom right Like !
 
Back
Top