Below is an example code of what I think you want. First, copy and paste the below code into a new module. Once you insert the image into Excel, right-click the image, click "Assign macro", and select this macro. Using this macro, when the user clicks the image, and input box will appear. You can change the prompt in the code. It then returns the user's input in cell A1. The IF statement then checks to see if the user entered the correct answer, as shown by the "RightAnswer" string. Change this value to whatever you need. If true, the text turns green. If false, the text turns red. Hope this helps!
Sub Correct()
Dim userInput As String
userInput = InputBox("Enter name of picture", "Name of picture")
Range("A1").Value = userInput
If userInput = "RightAnswer" Then
Range("A1").Font.Color = vbGreen
Else
Range("A1").Font.Color = vbRed
End If
End Sub
Bookmarks