I get the following error when the last statement in the code below
executes at run time: An exception of type htmlfile: Unspecified
error. 'was not handeled. Anyone know what and what I can do to fix it?
'highlight row
Set collTheRow = document.all("tblListRemarks").rows
(rmkdetail.txtRowRef.value)
Set rngExisting = document.body.createTextRange()
rngExisting.moveToElementText(collTheRow)
rngExisting.select
'change background color of highlighted row
rngExisting.pastehtml("<FONT STYLE=""background:yellow"">" &
rngExisting.HTMLtext & "</FONT>")
Thanks, Dean