in reply to Error when using formatting excel output using addformat

As I said in the chatterbox, perhaps you mean add_format rather than addformat. The error thrown is pretty clear. If in doubt check the module documentation.

Update: OP changed:

my $format = $WS->addformat();

to

my $format = $WS->add_format();

Based on my reponse.

Replies are listed 'Best First'.
Re^2: Error when using formatting excel output using addformat
by sanind (Initiate) on Jan 30, 2015 at 10:56 UTC
    Hi, My bad, you are correct. it's add_format.
      Hi, I still get the error after change.