Hi,

I'm not clear. In which line you get error ?

Can you attach a workbook ?