Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://889005]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-12-07 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.