You're welcome.
NOTE: Per forum rules, enclosing VBA code in CODE tags makes your posts much easier to read.
Just select your code text and click the # button on the edit toolbar. - Lee