Hi, nmorrison
You might try this to make entering your data a bit easier/quicker.
Copy and paste in the vb editor of sheet Hoja2.
I assigned short-cut keystroke to both codes ctrl + a & ctrl + e.
Option Explicit
Sub PatientAdd()
'ctrl + a
Dim PName As String
Dim CptC As String
PName = InputBox(" Enter patient's name")
Range("B1000").End(xlUp).Offset(1, 0) = PName
Range("B1000").End(xlUp).Offset(0, -1) = Now()
CptC = InputBox(" Enter Cpt Code")
Range("C1000").End(xlUp).Offset(1, 0) = CptC
End Sub
Sub EditMyPatient()
'ctrl + e
Dim MyEdit As String
Dim Msg, Style, Title, Response
Msg = "Do you want edit patient list ?"
Style = vbYesNo
Title = "EditMyPatient"
Response = MsgBox(Msg, Style, Title)
If Response = vbYes Then
MyEdit = InputBox(" Enter patient name")
Cells.Find(What:=MyEdit, After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
SearchFormat:=False).Activate
Else
Exit Sub
Regards,
Howard