Sub FindInShapes1() Dim rStart As Range Dim shp As Shape Dim sFind As String Dim sTemp As String Dim Response sFind = InputBox(\"Search for?\") If Trim(sFind) = \"\"
There is nothing wrong with your code. You will only get this error if the Active worksheet is password protected.
Can you check that?
Also check below url from so
Excel macro "Run-time error '1004"