Terry,

When I run that code I get an error "User-defined type not defined". Is there a component or reference that needs to be added to the project?

Thanks !