Well I can compile this, but it errors every time:
It keeps saying there's a type mismatch... Is this an error with the code? I'm using RSLinx OPCServerDim oOpcServer As RsiOpcAutPCServer
Dim WithEvents oOpcGroup As RsiOpcAutPCGroup
...
Dim Index As Variant
Dim Serverhandles(2) As Long
Dim MyErrors(2) As Long
'
Serverhandles(0) = 1
'
oOpcGroup.OPCItems.Remove 1, Serverhandles, MyErrors ' This doesn't work
...