WIN32OLE_VARIABLE#ole_type
Instance Public methods
Returns OLE type string.
1 2 3 4 5 6 7 8 9 10 11 12 | tobj = WIN32OLE_TYPE . new ( 'Microsoft Excel 9.0 Object Library' , 'XlSheetType' ) variables = tobj.variables variables. each do |variable| puts "#{variable.ole_type} #{variable.name}" end The result of above script is following: INT xlChart INT xlDialogSheet INT xlExcel4IntlMacroSheet INT xlExcel4MacroSheet INT xlWorksheet |
Please login to continue.