I am trying to write a macro to jump to a cell in Excel, where I would select a specific column by highlighting it, and then jump to the row containing a searched value from different column. I know how to make the macro and shortcut, it is just the vba code I am struggling with. I found this macro just need to know how to change it so it jumps to the row containing a searched value in a specific column, and not the row number of the input.
Sub JumpTo()
'Description: Select the specified row or column
'If row is specified, active column is used
'If column is specified, active row is used
'Source: https://www.excelcampus.com/vba/jump-to-row-column-keyboard-shortcut
Dim sResult As String
On Error Resume Next 'Blanket error handling
'Display inputbox to prompt user for row/column
sResult = InputBox("Type a row number or column letter and press Enter.", "Jump To...")
If IsNumeric(sResult) Then 'Select row
Cells(sResult, ActiveCell.Column).Select
Else 'Select column
Cells(ActiveCell.Row, sResult).Select
End If
End Sub