View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
[email protected] paul.domaskis@gmail.com is offline
external usenet poster
 
Posts: 41
Default "ByRef argument type mismtach" on string variable *sometimes*

On Jun 3, 3:34*pm, "Jim Cone" wrote:
TargetString is a Variant and the called function is expecting a String....

Dim TargetString as String
Dim OtherString as String


Thanks, Jim. I need to read the Help more carefully (though
admittedly, this behaviour does depart from many other languages).