BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Excel borders..

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
krisztian pinter
Guest





PostPosted: Tue Sep 06, 2005 10:41 am    Post subject: Re: Excel borders.. Reply with quote



On Tue, 6 Sep 2005 13:07:07 +0200, Adrian Otelea <a.otelea (AT) eure (DOT) ro> wrote:


Quote:
For inside borders?
Is impossible to use BorderAround property for each cells...

as always: record a macro, examine the VBA code

Back to top
Mike Shkolnik
Guest





PostPosted: Tue Sep 06, 2005 10:42 am    Post subject: Re: Excel borders.. Reply with quote



Quote:
Is impossible to use BorderAround property for each cells...
yourRange.Borders.LineStyle := xlContinuous

or
yourRange.Borders.Item[xlInsideVertical].LineStyle := xlContinuous;
yourRange.Borders.Item[xlInsideHorizontal].LineStyle := xlContinuous;

--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com



Back to top
Adrian Otelea
Guest





PostPosted: Tue Sep 06, 2005 11:07 am    Post subject: Excel borders.. Reply with quote



Hi all,

For outside borders i use this:

vWorksheet.Range['A1:E70'].BorderAround(xlContinuous,xlMedium,xlAutomatic);

For inside borders?
Is impossible to use BorderAround property for each cells...

Thanks,

Adrian





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.