Network Documentation Made Easy with SYDI
Your Boss Not Impressed with Your Network Documentation?

Unknown Runtime Error with Excel 2003

Excel 2003

Though troubleshooting can be quite fun at times, at least when your hair isn’t on fire. There are some errors which you don’t want to see i.e. “unknown error, contact your administrator”. When a SYDI user emailed asking me why the network inventory script sydi-overview crashed with unknown runtime error I just couldn’t figure it out since it worked perfectly for me.

Then I remembered that one of the new features in Office 2007 was that in Excel the limitation of 65,536 rows has been removed. Though I like Excel I feel sad for the people who have to have more than 65 k rows in an excel sheet. What I didn’t know but found out was that Excel 2003 also had a limit of 256 columns on a single sheet.

So if you had more than 256 services you will have to upgrade to Office 2007 if you need the tab. If you don’t need the tab but want sydi-overview to work you can run the script with the -t argument:

Cscript.exe sydi-overview.vbs -x"path to xml files" -t

I didn’t realize this would be a problem when I wrote the script. If you have fewer than 256 services this won’t be a problem, your other option is Excel 2007.

Since I don’t use Office 2003 I would never have realized this was an issue if someone hadn’t reported this to me. If you experience any issues with SYDI please let me know so I can troubleshoot the issue.

1 comment

1 Brian Hansen { 04.07.09 at 4:53 pm }

I am using Excel 2003 and running the overview against 344 xml files. When using the -t option the script still seems to bomb out at line 635 with a runtime error. The error is “Wrong number of arguments or invalid property assignment: ‘objExcel.ActiveChart.ApplyLabels’

This problem is correct by commenting out line 635 and then the script will complete successfully.

Leave a Comment