in reply to WriteExcel Gives Border By Default

amdme127:

Perhaps you just need to call $worksheet->hide_gridlines(2);?

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: WriteExcel Gives Border By Default
by amdme127 (Novice) on Nov 11, 2011 at 14:30 UTC

    Thanks that worked perfectly. That was exactly what I needed

    I slightly modified it to this:

    $worksheet->hide_gridlines(1);

    I still wanted the gridlines in the excel file (I was probably a little unclear, my bad), I just didn't want to see them when I printed the file.

    Thanks again for the help. I keep trying to use set_border and other variants, but being gridlines and not a border makes things a bit more clear now