Thanks - I've seen references to that but thought it was c only, not VB. I'll give it a try.