Dear Hui,
The issue is with the selection of all sheets. In the above post the issue was stated. Suddenly Worksheets(i).Select (False) stopped working, i have googled this issue and many users reported this issue as well finally other code as mentioned in the above thread worked
Thank you