I have a workbook where I have created a Table of Contents with hyperlinks to the worksheets. I sort them alphabetically, but I am suddenly getting a 1004 error.
This is the code (which I copied from elsewhere). It works just fine in another workbook, so I copied it to this workbook, when I...