hello world,
in webbrowser there are pages in opened whithe

javascripts wendow.open

if it exceeded a an number of windows in NewWindow2 it references an error message

what to do pliz

Private Sub WebBrowser_NewWindow2(ppDisp As Object, Cancel As Boolean)
Set ppDisp = w(n).Object
n= n+ 1
End Sub