1
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")
for循環提供可變的循環給類型不匹配錯誤如何通過一系列
請幫助..
很好的改善+1。 – 2013-05-01 15:54:25
@shahkalpesh如果For語句不是「對於fullRange.Cells中的每個UserCell」? – Marshall 2013-05-01 17:20:18
這工作..謝謝@shahkalpesh – 2013-05-01 17:33:18