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
In reply to Print a full path in center footer by jinhuang1992
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |