Welcome to VBForums

You haven't added the reference, as specified at the top of post #2.

You may find my Excel Tutorial (link in my signature) useful.