Convert HTML-table to Excel
The code below fetches the HTML-table at https://rasmusrhl.github.io/stuff, and converts it to Excel-format.
The pr
Based on the documentation from Microsoft MSDN Library: WebFormatting Property you could try the below change to your code:
.WebFormatting = xlWebFormattingNone
This may allow the data to be copied without any number formatting - then you can set your own number format for those cells (using MSDN: Excel VBA NumberFormat property )
A similar solution should solve the issue with numbers being truncated or rounding - set the decimal points for the affected cells in your target range...