You are almost there.
You only miss the $obj->{Visible}=1; line to make it appear on the screen, since COM objects are not visible on the screen by default.
(see book WIN32 Perl Programming, 2de edition book page 225)
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium
In reply to Re: open a text file with Excel using Win32::OLE
by mce
in thread open a text file with Excel using Win32::OLE
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |