Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am working on a spreadsheet, columns A through F with many rows. I would
like to add a thick black border around cells Ax:Fx on any given row. Actually, my target cell will always be in the A column, so when I click on the macro to execute it cells a:f in that row will be surrounded by thick black border. Thanks gang. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I moved this question to General Question -- please reply there
|
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try code like
Dim RowNum As Integer RowNum = 10 ' Change as necesary, or use: RowNum = ActiveCell.Row Range(Cells(RowNum, "A"), Cells(RowNum, "F")). _ BorderAround xlSolid, xlThick, xlColorIndexAutomatic -- Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group Pearson Software Consulting, LLC www.cpearson.com (email on web site) "JSnow" wrote in message ... I am working on a spreadsheet, columns A through F with many rows. I would like to add a thick black border around cells Ax:Fx on any given row. Actually, my target cell will always be in the A column, so when I click on the macro to execute it cells a:f in that row will be surrounded by thick black border. Thanks gang. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A toggling border macro | Excel Discussion (Misc queries) | |||
Macro for a Border | Excel Discussion (Misc queries) | |||
Snap an object to a cell border via macro | Excel Discussion (Misc queries) | |||
Macro to Conditionally format Thick Border | Excel Programming | |||
Changing the border of one cell s/n change the border of adjacent | Excel Discussion (Misc queries) |