Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: WIn32::OLE Excel Bold a Word and Wrap Text

by cormanaz (Chaplain)
on Feb 18, 2011 at 22:57 UTC ( #889005=note: print w/ replies, xml ) Need Help??


in reply to WIn32::OLE Excel Bold a Word and Wrap Text

Thanks for the suggestions. Use the macro recorder--why didn't I think of that?

The answer to question 2 is $Sheet->Range("a1")->Characters(5,5)->{'Font'}->{'Bold'} = 'True'; (assuming the word starts at char 5 and is 5 chars long). Bear in mind that the char numbering starts at 1, not 0.


Comment on Re: WIn32::OLE Excel Bold a Word and Wrap Text
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (16)
As of 2014-07-11 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (232 votes), past polls