I'm trying to key-in values from excel sheet into a HTML table in the website. I've accessed the table element using td.innertext but once I copy them the cell contents in the HTML table become un-editable. I'm not sure why this is happening. Can somebody help me?
I'm trying to copy rows 1 to 8 and column 2 to 5 into the table
For tr_id = 1 To 8
For td_id = 1 To 4
Set TD = .Document.getElementById("table_data").getElementsByTagName("tr")(tr_id).getElementsByTagName("td")(td_id)
TD.innerText = Sheet1.Cells(row, col).Value
col = col + 1
Next
col = 1
row = row + 1
Next
Website Address - https://datatables.net/examples/api/form.html
I'm not sure why the contents once pasted to the site (HTML table, looks like a text box) becomes un-editable once the numbers from excel are copied. Is there something else I have to be looking at?
