X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 28 Aug 2013 01:29 PM by  anon
IDLcomIDispatch issue with Excel
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:1
New Member


--
28 Aug 2013 01:29 PM
    When I run the code below, I try to get a selection object and a workbooks collection object back from Excel. The workbooks collection comes back fine, but the selection object is always coming back undefined, even when i've got several cells selected. Any idea why this would be the case? My limited understanding of how Excel's objects works could obviously be the problem here :) Thanks, Jeff pro xl_test xl = obj_new('IDLcomIDispatch$PROGID$Excel.Application') xl->GetProperty, Selection=oSel, Workbooks=oBooks help, oSel, oBooks obj_destroy, xl, oSel, oBooks end
    You are not authorized to post a reply.