Results 1 to 5 of 5

Thread: To put a Border on 1 side of a Cell [resolved]

  1. #1

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    To put a Border on 1 side of a Cell [resolved]

    Hi,

    Anyone know how to put a border on just 1 side of a Cell programatically?

    I have a VB program formatting ranges and I am using the
    VB Code:
    1. Range.BorderAround ..,..,..,..
    Member, but that places a border on all sides. I just want 1 side.

    Is there a way?

    Thanks!

    Dave
    Last edited by Dave Sell; Apr 29th, 2004 at 12:56 PM.

  2. #2
    New Member
    Join Date
    Apr 2004
    Posts
    3
    instead of
    Code:
    Range.BorderAround
    try using
    Code:
    Range.Borders(xlEdgeLeft)
    hope this helps

  3. #3

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    Thanks!

    That did the trick!

    Dave

  4. #4

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    How do I make this thread "Resolved"?

  5. #5
    New Member
    Join Date
    Apr 2004
    Posts
    3
    Originally posted by Dave Sell
    How do I make this thread "Resolved"?
    not sure, but i'd assume just click the EDIT button on your original post and change the title by putting the RESOLVED word in front of it. later.

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