Hi Tweed. Difficult to give a decent answer without knowing more about you objects, but in rough pseudoish code, maybe this will help:
Dim column as integer = 0
Dim row as integer =0
Dim obj as myObject
For column = 1 to myObjectsCollection.Count
myObject = myObjectCollection(Column)
For row = 1 to myObject.Array.upperbound(0)+1
Cell(column,row).Value = myObject.Array(row-1)
Next
Next
All the usual stuff about 1 based collections and zero based arrays. Also, probably have to check array length for each object/column. Good luck.
crapulency
Junior Poster in Training
53 posts since Jun 2010
Reputation Points: 10
Solved Threads: 18
Hi vvashishta. It would have been better to start your own thread for this issue. Anyway, in order for someone to give you a good answer, it would help to give more information. What is your set up? How are you intending to deploy your application? Web/windows/lan? Either way, a good guess would be that Excel is not installed on the machine where you are trying to run your deployed application - or perhaps there are some Excel versioning issues? When you referenced Excel did you select "Microsoft Excel 9.0 Object Library" Or was it version an earlier or later version? And is the same version installed on your target machine? If not you will probably get a message like "Cannot create ActiveX object... " etc Just a guess
crapulency
Junior Poster in Training
53 posts since Jun 2010
Reputation Points: 10
Solved Threads: 18