Hai Patel,

The script is showing error on my original file on

sh.Copy
My original file have some hidden sheets might be this is the problem. Can you help me on this issue please. I need to convert only visible sheets into PDF.