How do you append to the middle of an html file using vba? -
i have table in html document, , else after it. writing vba code make userform creates new line of table in html document. have figured out how append end of html file, not @ end of table. have tried few things, can see commented out. html variable refers string want add html document. code below:
open "c:\users\tprocon\desktop\notificationtracker\table.html" append access read write #1 'dim filenum integer 'dim dataline string 'while not eof(1) 'line input #1, dataline 'if dataline = "</table>" print #1, html 'end if 'wend close #1
Comments
Post a Comment