• 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.

Personal timer help how to save data to another sheet..

raf

New Member
Please help me how to add command with my button 7, Button 7 should save the data continually going to 2nd sheet of the workbook.
--If i clear the sheet 1, and input another data, and click save again it will be added to the 2nd sheet.

Advance thanks!
 

Attachments

  • PersonalTimerB2.xlsm
    142.1 KB · Views: 1
Hi @raf

Your code should look something like this.

Code:
Sub Button7_Click()
Dim rng As Range
Set rng = Range("D8", Range("D" & Rows.Count).End(xlUp))
  rng.Offset(, -1).Resize(, 9).Copy Sheet2.Range("C" & Rows.Count).End(xlUp)(2)
End Sub

I have attached a workbook to show workings.

Take care

Smallman
 

Attachments

  • Timer.xlsm
    37.7 KB · Views: 10
  • Like
Reactions: raf
Hi @raf

Your code should look something like this.

Code:
Sub Button7_Click()
Dim rng As Range
Set rng = Range("D8", Range("D" & Rows.Count).End(xlUp))
  rng.Offset(, -1).Resize(, 9).Copy Sheet2.Range("C" & Rows.Count).End(xlUp)(2)
End Sub

I have attached a workbook to show workings.

Take care

Smallman




That really resolves my code... thank you so much smallman! You are the man!!!
 
Back
Top