Thankyou!! This solved a problem for me as well.

Tried many combinations of code and was really close, but just couldn't get it exactly RIGHT. It is NOW!!