Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Using Win32::OLE and Excel - Tips and Tricks

by iamaids (Initiate)
on Nov 24, 2005 at 17:58 UTC ( #511489=note: print w/replies, xml ) Need Help??


in reply to Using Win32::OLE and Excel - Tips and Tricks

Thanks for the article. The following code doesn't work on my machine:
my @edges = qw (xlEdgeBottom xlEdgeLeft xlEdgeRight xlEdgeTop xlI +nsideHorizontal xlInsideVertical); $range = "b1:c56"; foreach my $edge (@edges){ with (my $Borders = $Sheet->Range($range)->Borders(eval($edge)), LineStyle =>xlContinuous, Weight => xlThin , ColorIndex => 1); }
I'm using ActivePerl 5.8.7. No error messages were encountered. Thanks in advance.

Replies are listed 'Best First'.
Re^2: Using Win32::OLE and Excel - Tips and Tricks
by Anonymous Monk on Nov 15, 2007 at 17:21 UTC
    Perl not able to Recognise the Border Function So please use Win32::OLE::Const 'Microsoft Excel'; It helps to resolve the issue

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://511489]
help
Chatterbox?
[hippo]: Congrats. I expect the resulting code to be rock solid. :)
[stevieb]: Thanks hippo, as do I, as if it's not, hardware peripherals or sensors could be destroyed (code has to be reliable when dealing with input/output voltages)

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (15)
As of 2017-01-20 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (176 votes). Check out past polls.