+ 0 Votes Is this a question? robo_dev August 29, 2013 at 7:52am PST It looks like you're writing the output to a text file. Is that VB? I think the webbrowser.document.write function may be useful for your code. The lazy approach would have excel create the Html with the data within the spreadsheet, then just use VB to grab the file from Excel.