Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Setting Excel cell formats

by Samy_rio (Vicar)
on Jul 27, 2007 at 04:08 UTC ( #629051=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Setting Excel cell formats
in thread Setting Excel cell formats

Hi merrymonk, set the left and right margin value like below

$sheet1->PageSetup->{LeftMargin} = $Excel->InchesToPoints("0.19"); $sheet1->PageSetup->{RightMargin} = $Excel->InchesToPoints("0.54");

In the same way, you can set the value of the remaining margin.

TopMargin BottomMargin HeaderMargin FooterMargin

Regards,
Velusamy R.


eval"print uc\"\\c$_\""for split'','j)@,/6%@0%2,`e@3!-9v2)/@|6%,53!-9@2~j';


Comment on Re^3: Setting Excel cell formats
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://629051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (18)
As of 2015-07-30 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls