Thanks Paul!
I'm getting a run time error '5': Invalid procedure call or argument with create pivot table code
Could you please check and help me