My apologies if I was unclear in what I was asking.

I have a PowerPoint open with a screenshot of the first page of our online password reset tool. On that page there is a text entry field (where you would type in the 4-digit identifier of the user) as well as a search button.

My first issue was trying to figure out how to make it so if I entered in a specific identifier into the text box and then hit search, it would go to a specific slide.

I don't think what I did was very efficient, but it is working now. I used an invisible action button over the search button on the screenshot and put a text box over the spot where the user would normally type. I then worked my way through to the code I had up top. Now when I search for "NAPR" it goes to a specific slide.

The next problem I had was how to have it go to a different specific slide when I type in something else, "Fo0d" or "CAR5" for example. I was able to get this working as well pretty quickly, however I doubt any of this was efficient. This is what my code looks like now:

Sub ifthen()
If UCase(Slide1.TextBox21.Text) = "FO0D" Then
 
With Application
    .Presentations(1).SlideShowSettings.Run
With SlideShowWindows(1).View
    .GotoSlide 2
    End With
    End With
    
    End If
   If UCase(Slide1.TextBox21.Text) = "CAR5" Then

With Application
    .Presentations(1).SlideShowSettings.Run
With SlideShowWindows(1).View
    .GotoSlide 20
    End With
    End With
    End If

Exit Sub
 
 
End Sub
Does that clear things up a bit? Again, sorry for the confusion. I'm totally new to this whole thing and thought I was providing all necessary information.