Run-Time error '1004' The specified value is out of range

后端 未结 3 1338
情深已故
情深已故 2021-01-28 02:27
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) = \"\"         


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-28 03:21

    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"

提交回复
热议问题