|Pathologically Eclectic Rubbish Lister|
Re^4: Using Win32::OLE and Excel - Tips and Tricksby planetscape (Chancellor)
|on Dec 20, 2005 at 23:10 UTC||Need Help??|
In replying to a (nearly) 4-yr old node, your question is in danger of flying beneath everyone's radar. Better to post under Seekers of Perl Wisdom. To get an idea of how this site works, I recommend looking at the "Welcome to the Monastery" section of the Tutorials page.
You may also have on your machine something called "OLE Browser" or "Type Library Browser" if you installed Win32-OLE-0.1403 or upgraded from that to a later version. You might find it in C:\Perl\html\OLE-Browser or C:\Perl\html\lib\site\Win32\OLE depending on your install.
Something else I've found to be very handy indeed is West Wind Technology's GetConstants utility, which allows you to look at all those cryptic constants MS Office uses. Note that they do shuffle the links around occasionally, so it may be necessary to do some searching.
Ok, more to the point... The command you are looking for is (in VBA):
You should now have all the information necessary to tweak this as needed. :-)
Update: You might also wish to investigate the GetSaveAsFilename function...