Results 1 to 3 of 3

Thread: Excel Borders (not Pat) [RESOLVED]

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2003
    Posts
    124

    Excel Borders (not Pat) [RESOLVED]

    In vb6 xlTop, xlBottom and others were sufficient enough in defining Cell borders in apps accessing Excel.

    In .Net these arent valid. Is there anyway to make them valid or do i need to find the hex values of these?

    thx
    db
    Last edited by daveStudent; Jul 15th, 2003 at 09:13 AM.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jun 2003
    Posts
    124
    For anyone who is interested here's a link i found with ALL the Excel Constants

    http://techsupt.windowware.com/TS/T000001033005F9.html

    db

  3. #3
    Addicted Member craigreilly's Avatar
    Join Date
    Jul 2004
    Location
    Scottsdale, AZ
    Posts
    188
    So - how do I go about actually doing this. I do not understand your reply to your own message. What do I do with those #'s? here is my previous code:

    Code:
    With objexcel.Selection.Borders(xlEdgeBottom)
            .LineStyle = xlContinuous
            .Weight = xlHairline
            .ColorIndex = xlAutomatic
    End With
    Thaks for any help you can give...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width