Can you post the section of code that's generating the error? Off the top of my head, it looks like you are going out of bounds with an array, but it's not really possible to say until we see what's ...
SharePains by Pieter Veenstra on MSN

The Scalability of Office Scripting in Microsoft Excel

Today's post is all about the scalability of Office Scripting in Microsoft Excel using the Run Script action in Power ...