jinhuang1992 has asked for the wisdom of the Perl Monks concerning the following question:
my $excel = Win32::OLE->new('Excel.Application'); my $book = $excel->Workbooks->Open("c:\\temp\\sale.xls"); my $sheet = $book->Worksheets(1); with ($sheet->PageSetup, CenterFooter => "&F")
&F is a code that prints a file name sale.xls. What is the code to print a full path c:\temp\sale.xls?
Thanks.janitored by ybiC: Balanced <code> tags around code block, minor format tweaks for legibility
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Print a full path in center footer
by jmcnamara (Monsignor) on Aug 13, 2004 at 19:12 UTC | |
|
Re: Print a full path in center footer
by GreyGlass (Sexton) on Aug 13, 2004 at 19:34 UTC | |
|
Re: Add a full path
by davorg (Chancellor) on Aug 13, 2004 at 15:45 UTC | |
by tye (Sage) on Aug 13, 2004 at 15:57 UTC | |
by jinhuang1992 (Novice) on Aug 13, 2004 at 16:05 UTC | |
by davorg (Chancellor) on Aug 13, 2004 at 16:18 UTC | |
|
Re: Add a full path
by Fletch (Bishop) on Aug 13, 2004 at 15:57 UTC |