A
Alan T
I'm trying to create a spreadsheet that will be used to log details of
calls coming into a helpdesk. The spreadsheet is going to be used to
provide management information about the nature and type of calls.
I'm trying to move all data from one sheet onto another sheet in the
same workbook (sheets CLT and CS). I'm looking to transfer data from
cells L8,L10,L12,L14 on sheet CLT to sheet CS when a button is clicked.
When the button is pressed for the first time the data should record on
Sheet CS in Cells A2,C2,E2,G2, the second time the button is pressed
the data should record in cells A3,C3,E3,G3, the next time A4,C4, E4,
G4 etc
I have some validation checks being run when the button is pressed at
the moment and these are required going forward. The button also resets
the fields providing validation is succesful.
Any suggestions?
calls coming into a helpdesk. The spreadsheet is going to be used to
provide management information about the nature and type of calls.
I'm trying to move all data from one sheet onto another sheet in the
same workbook (sheets CLT and CS). I'm looking to transfer data from
cells L8,L10,L12,L14 on sheet CLT to sheet CS when a button is clicked.
When the button is pressed for the first time the data should record on
Sheet CS in Cells A2,C2,E2,G2, the second time the button is pressed
the data should record in cells A3,C3,E3,G3, the next time A4,C4, E4,
G4 etc
I have some validation checks being run when the button is pressed at
the moment and these are required going forward. The button also resets
the fields providing validation is succesful.
Sub UpdateNow()
'
' UpdateNow Macro
' Macro recorded 29/10/2003 by Alan Towle
'
If Range("l8") = 1 Then response = MsgBox("Please record your
Initials", 0, "Error!")
If response = vbOK Then GoTo cancelled
If Range("l10") = 1 Then response = MsgBox("Please record the Branch
Details", 0, "Error!")
If response = vbOK Then GoTo cancelled
If Range("l12") = 1 Then response = MsgBox("Please record the
Application Details", 0, "Error!")
If response = vbOK Then GoTo cancelled
If Range("l14") = 1 Then response = MsgBox("Please record the nature
of the Query", 0, "Error!")
If response = vbOK Then GoTo cancelled
response = MsgBox("Are you sure you want to log your call?", 1, "Log
your call?")
If response = vbCancel Then GoTo cancelled
Range("l8,l10,l12,l14").Select
Selection.FormulaR1C1 = "1"
cancelled:
'
End Sub
Any suggestions?