Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"HTML Report"
#4
Solved: 10 Years, 9 Months ago
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.
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
Reply


Messages In This Thread
"HTML Report" - by suresz449 - 01-06-2012, 10:14 AM
RE: "HTML Report" - by vIns - 01-06-2012, 10:46 AM
RE: "HTML Report" - by vinod123 - 01-06-2012, 02:06 PM
RE: "HTML Report" - by ravi.gajul - 01-07-2012, 10:24 AM
RE: "HTML Report" - by vinod123 - 06-18-2014, 04:57 PM
RE: "HTML Report" - by Tarik Sheth - 06-18-2014, 07:44 PM
RE: "HTML Report" - by Naresh - 04-10-2015, 01:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)