Hi guys. I have a macro that asks a user to select a cell and then type in a number which is captured to the selected cell. I would like to know how to have the number that is typed to be entered into a comment. This is the code I have so far:
Sub AddCB()
Dim AddHours As String
sCell = Application.InputBox(Prompt:="Select a date", Type:=8)
AddHours = InputBox("How many Call Back hours?", "Add CB Hours", "Enter amount here")
ActiveCell.Value = "CB"
ActiveCell.Offset(0, -1).Value = AddHours
End Sub
I hope someone can help, thank you in advance.
Sub AddCB()
Dim AddHours As String
sCell = Application.InputBox(Prompt:="Select a date", Type:=8)
AddHours = InputBox("How many Call Back hours?", "Add CB Hours", "Enter amount here")
ActiveCell.Value = "CB"
ActiveCell.Offset(0, -1).Value = AddHours
End Sub
I hope someone can help, thank you in advance.