The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: jmcnamara <jmcnam...@cpan.org>
Date: Mon, 20 Aug 2012 03:38:46 -0700 (PDT)
Local: Mon, Aug 20 2012 6:38 am
Subject: Re: Unknown defined name DATEVALUE in formula
On Aug 20, 11:04 am, Costi <constantinmihaiste...@gmail.com> wrote:
> $worksheet->write_formula($row, $col, '=DATEVALUE("%s", $field[$j])', $format_date);
Hi,
The issue here is that single quotes don't allow interpolation
my $str = 'Hello';
print '$str'; # Prints: $str
print "$str"; # Prints: Hello
So you probably need something like this:
$worksheet->write_formula($row, $col, "=DATEVALUE($field[$j])",
See the following for more information:
http://perlmeme.org/howtos/using_perl/interpolation.html
John.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||