Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default vb.net & excel properties

I am using vb.net 2005 to fill a spreadsheet in excel with data. I
have gotten the data in the speadsheet and now I am not to formatting.

I can change text justification by:

..HorizontalAlignment = 3 'Centers Text in the cell

I am having trouble with the borders. I have searched the group and
recorded macros and found things like .xlEdgeBottom and changing the
..LineStyle, .Weight, etc... properties.

Is there a way to get vb to recognize the .xlEdgeBottom and .LineStyle
etc. instead of having to figure out the integer equivalents like I
did with the text justification?

There are many more properties for the border than there was for text
justification so trying all the possibilities will take a lot more
time.

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Properties Stoney Currie[_2_] Excel Discussion (Misc queries) 1 April 30th 10 02:02 AM
Excel Properties Harley New Users to Excel 2 January 19th 06 11:26 PM
Properties transferring from excel cells to word file properties lubo Excel Programming 4 July 12th 05 11:24 AM
Excel properties Kevin Excel Programming 1 November 4th 03 09:59 AM
Excel properties Kevin Excel Programming 7 August 7th 03 10:36 AM


All times are GMT +1. The time now is 05:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"