coping cells data from one sheet to another and dropping it to the next row to be ready to a new entery

ShawnSPS

Board Regular
Joined
Mar 15, 2023
Messages
61
Office Version
  1. 2003 or older
Platform
  1. Windows
What I need is the “notes” button to populate the current date and time into column (b) “znotes” and copy “a2” and place into column “D” in “znotes” each time the notes button is press from the current/active worksheet the user has open. So essentially the date and the current worksheet name will be populated and copied to znotes creatating a new entry every time the user press that notes button. So the user will only have to enter just the message or note. In the notes area on znote worksheet. I hope I explained my intentions clearly because I do need help with this





There is only 3 tabs(ws) that has the notes button “ablank” which hidden and is the master worksheet, two Generic or fake client names which are SHAWNCO AND VINES. All other worksheets were created before the notes button was created.



The current code I have copies what I need but will not drop down to the next row to be ready for a new entry .



Public Sheetname As String

Sub Appl_Goto()

Sheetname = ActiveSheet.Name

Application.Goto Reference:=Worksheets("Znotes").Range("b2")

With Range("b2")

.Value = Now()

.NumberFormat = "mm/dd/yyyy h:mm:ss AM/PM"

End With

Application.Goto Reference:=Worksheets("Znotes").Range("d2")

With Range("d2")

.Value = Sheetname

End With

Sheetname = ""

End Sub






 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,636
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top