paste the VBA code provided by Dennis Wallentin into the editor window and click "Run" or press F5 to execute the code. And that's it! You've created a table of contents worksheet for your Excel ...