01-07-2012, 10:24 AM
For doing so you are expected to have basic html skills.If you already have, then you may write the html code in a text file and save as .html file.Get the cell data from webtable(use getcelldata method) and write it accordingly.
For your easy reference see the below code.
For your easy reference see the below code.
Code:
Set fso=CreateObject("Scripting.FileSystemObject")
Set f= fso.CreateTextFile("C:\html.txt",1)
f.WriteLine "<html>"
f.WriteLine "<body>"
f.WriteLine "<table border=10>"
f.WriteLine "<tr>"
f.WriteLine "<td>UserId</td>"
f.WriteLine "<td><input type=text/></td>"
f.WriteLine "</tr>"
f.WriteLine"</table>"
f.WriteLine"</body>"
f.WriteLine "</html>"
f.close
Set f= nothing
Set fso=nothing