Sorry for not responding immediately but other lives do look in from time to time. Thank you both for the input and I've used JTaylor's code to fix the script (it would appear that IE11 is not consistent in whether it will honor the request to create an event).
I followed Deana's links and learned that "Document modes are deprecated", the current version of IE11 still supports "document.all", but if future versions no longer support it then my script will be seriously broken.
Currently I'm using "document.all" like this
prqObj = prqAll.item(prqObjNum)
prqTag = prqObj.tagname
prqInner = prqObj.InnerHtml
if strindexnc(prqInner, '<INPUT', 0, @fwdscan)==1 && strindexnc(prqInner, 'class="checkbox eventEnabledFields2"', 0, @fwdscan)!=0 && strupper(prqTag)=='LABEL'
return prqObj
else
prqCnts = prqAll.length-1
for prqCnt = 0 to prqCnts
prqObj = prqAll.item(prqCnt)
prqTag = prqObj.tagname
prqInner = prqObj.InnerHtml
if strindexnc(prqInner, '<INPUT', 0, @fwdscan)==1 && strindexnc(prqInner, 'class="checkbox eventEnabledFields2"', 0, @fwdscan)!=0 && strupper(prqTag)=='LABEL'
iniwritepvt(Section, KeyName, prqCnt, gIniPvt)
prqChk = @true
; prqObj = prqAll.item(prqCnt)
; prqTable = prqObj.InnerHtml
display(3, 'Page Change', 'Ini file has been updated with new table object number.')
return prqObj
endif
next
endif
Later in the script the same code is called again to verify the value in prqInner and if it checks out then it is is written to a file for further processing. This code is part of Winbatch app that I've patched and prodded over the last sixteen years to retrieve bank statements and feed them to a bookkeeping program.
As usual and help is greatly appreciated.