I've attached some example code. In my application I'm hiding rows of the spreadsheet. I'm having 2 different issues.
1. When I hide the last row of a "table" and export the sheet with worksheet.SheetToImage(), the border on the last row of the "table" is missing. The "table" looks fine in the resulting XLS but not in the .JPG.
2. In the second example (lower "table") the border on the first column is cut off.