View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Check to see if variable is duplicate.

Ian,

You must declare iPos as a long to get this to work. If it defaults to
variant, it will always be 0

Dim iPos As Long

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"ianripping " wrote in message
...
bob, even if that value doesnt appear, it stil reports it as being
there!


---
Message posted from http://www.ExcelForum.com/