Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Return Cells With Border Only

Is there a way to identify a cell based its having a border?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 339
Default Return Cells With Border Only


"Tony" skrev i meddelandet
ups.com...
Is there a way to identify a cell based its having a border?


Something like this?

If (Range("G15").Borders(xlEdgeRight).LineStyle = xlContinuous) Then
MsgBox "Cell G15 has a right edge border"
End If

You may have to test all four edges.

/Fredrik


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
Border Cells Steved Excel Worksheet Functions 4 July 29th 09 08:14 PM
I want to select only cells with a border dadouza Excel Discussion (Misc queries) 1 June 29th 08 11:33 PM
Excel Border Cells Elizabeth Excel Discussion (Misc queries) 1 April 6th 06 07:32 PM
Changing the border of one cell s/n change the border of adjacent gjanssenmn Excel Discussion (Misc queries) 2 October 5th 05 08:35 PM
cells not printing within border Pookie Excel Worksheet Functions 0 March 7th 05 06:37 PM


All times are GMT +1. The time now is 03:15 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"