Hi
does your workbook include a range named "MyRange"? if not, the macro will fail