"Dave Thomas" <Dave / PragmaticProgrammer.com> wrote in message news:m24ry3k8v7.fsf / zip.local.thomases.com... > Jim Freeze <jim / freeze.org> writes: > > Does someone have a code snippet that they can point me to that allows > > Ruby to insert data into an excel spreasheet via com? > http://www.pragmaticprogrammer.com/ruby/samples/smp168.html When I run it in RubyWin, RubyWin coredumps when executing workbook = excel.Workbooks.Add(); If I place it in a file and executes it: excel.rb:12: [BUG] Segmentation fault ruby 1.6.1 (2000-10-05) [i386-cygwin] 0 [sig] RUBY 1000 stackdump: Dumping stack trace to RUBY.EXE.stackdump And the stack dump: Stack trace: Frame Function Args 0253D77C 6103F2F3 (00000064, 0000EA60, 00000000, 6103EF38) 0253D7BC 6103F2F3 (85CA5EE8, 00000006, 00000000, 0253D874) 0253D7EC 6103C9CC (000003E8, 00000006, 000003E8, 6108625C) 0253D80C 6107AE2F (61086020, 000003E8, 00000006, 0253D864) 0253D82C 610700F0 (61086020, 00000006, 0253D858, 0253D8F0) 0253D84C 610700C5 (00000006, 67D78E30, 67D78E36, 67D78E41) 0253D86C 6106C996 (0253DDE8, 00000000, 82D187CC, 82D18410) 0253DC8C 67D0AC94 (67D68E53, 00000187, 00000187, 00000000) 0253DCAC 67D68E7B (0000000B, 00000000, FFFFFFFF, 00000009) 0253DD48 6100B5BE (0253DDE8, FFFFFFFF, 0253DE18, 62A830C8) 0253DE18 62A83481 (00000001, 0253E0E0, 04599B78, 00000003) 0253DE58 62A83886 (00000001, 0253E0E0, 04599B78, BFF7A567) 0253DE88 67D15D9E (62A837E4, 04599B78, FFFFFFFF, 00000001) 0253E028 67D16392 (04599E18, 04599B78, 00000E11, 00000001) 0253E078 67D16AF4 (04599E18, 04599B78, 00000E11, 00000001) 0253E0B8 67D16DB9 (04599B78, 00000E11, 00000001, 0253E0E0) End of stack trace (more stack frames may be present) I'm a newbie and I don't even know where to start looking. /rob