well im dealing with multiple webbrowsers so for 1 broswer i do something like..

Set hInp = wb.Document.blahblah
hInp.Click

but im dealing with multi webrowsers with indexes e.g. wb(1) wb(2)

so i need different variable names

Set hInp1 = wb(1).Document.blahblah
hInp1.Click

Set hInp2 = wb(2).Document.blahblah
hInp2.Click

thats why i was asking i need something like

Set hInp & index = wb(index).Document.blahblah
hInp & index.Click

any ideas why it wont work?