Search and find the value in a column where a formula is present

mitchec

New Member
Joined
Oct 12, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,
Newbie here with VBA, wondering how i can find a value where a formula exists when typing into an input box.
The code i have works where the value is present but I need to reference a different sheet to carry out the criteria which has formulas in the column. Hope this makes sense! Is it possible to do this?

Sub FindIssuekey() 'add a command button on your Master Sheet referencing this Macro
Res = InputBox("Enter An Issue Key")
Set Rng = Worksheets("Sheet 1").Range("B:B") '<< The Sheet Name and Range to Search
With Rng
Set MyChoice = .Find(What:=Res)
If Not MyChoice Is Nothing Then
Application.GoTo MyChoice
Else: GoTo ExitMyChoice
End If
End With
Exit Sub
ExitMyChoice:
MsgBox "Could Not Find " & Res
End Sub

Cheers
CM
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top