Dim FromRang As Range, ToRang As Range
Dim UserCell As Range
'Ask the user to input the cell Range in which to search for the sub strings
Set FromRang = Application.InputBox(Prompt:="Enter Search Range From:", Type:=8)
Set ToRang = Application.InputBox(Prompt:="Enter Search Range To:", Type:=8)
For each UserCell in ("FromRang:ToRang")
给出类型不匹配错误
请帮忙..