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/