in reply to writing to a users "My Documents" folder
Run that. It will print of all your system environmental variables. Which includes the current users 'My Document' folder.perl -e 'print "$_ = $ENV{$_}\n" for sort keys %ENV;'
will save to the users My Documents folder. (The OLE object does not default to using your programs current working directory).$Book->SaveAs('file.xls');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: writing to a users "My Documents" folder
by Anonymous Monk on Sep 30, 2013 at 06:32 UTC |