Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hi Anthony
The text in the inverted commas can be changed to suit your needs. Also have a look at MsgBox in the Help file. Sub add_monday_jobs() With Sheets("monday'S LOG").Range("A8:N34") Sheets("Log").Range("A" & Rows.Count).End(xlUp).Offset( _ 1, 0).Resize(.Rows.Count, .Columns.Count).Value = .Value End With MsgBox "Data has been transferred!" End Sub HTH Michael "Anthony" wrote: Hi, I have the code below (attached to a button) which adds a list of items to a seperate log, can somebody tell me what code to add to it that will produce a message box confirming the data has been placed in the new worksheet. Thanks Excel novice !! Sub add_monday_jobs() With Sheets("monday'S LOG").Range("A8:N34") Sheets("Log").Range("A" & Rows.Count).End(xlUp).Offset( _ 1, 0).Resize(.Rows.Count, .Columns.Count).Value = .Value End With MsgBox "Data has been transferred!" End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
when opening excel I receive a message that says file can't be fo. | Excel Discussion (Misc queries) | |||
changing the message in an error message | Excel Worksheet Functions | |||
Excel error message | Excel Discussion (Misc queries) | |||
Pivot Table not valid error message when formatting data 'button'. | Excel Discussion (Misc queries) | |||
#num! error message | Excel Worksheet Functions |