in reply to Re: "use Win32::OLE::Const" not having an effect
in thread "use Win32::OLE::Const" not having an effect
Just wanted to point out that taking control of an existing instance of Excel could potentially create some problems. In fact, my personal recommendation is to just have the script open a new instance of Excel or at least be aware of the potential problems.
For more info on the potential problems, you check out some of the posts from davies and I in the Perl r/w Excel with OLE thread. Actually, I think that davies did a better job of explaining the dangers of grabbing control of an existing Excel instance that I did in that thread.