Hi buddy,

I got a solution to this problem. I got a similar problem in one of the worksheet in the workbook. So the code

year(now) was working in some userforms but not in other userform. So i...