ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Format cell plus adjoining cell (https://www.excelbanter.com/excel-programming/408929-format-cell-plus-adjoining-cell.html)

davethewelder

Format cell plus adjoining cell
 
Hi, i am trying to figure out how to format a cells based on the value of
another cell, F66.
I have a spreadsheet with 7 lists of clients with at various locations on
the spreadsheet and a matching credit score next to them. I wish to format
the cell in the list equivelant to the value of F66 and the adjacent cell
with an outline heavy border round the two cells. I can conditional format
for one cell but not the two.

Any ideas would be greatly appreciated.

Davie

joel

Format cell plus adjoining cell
 
Use pastespecial and use formats.

Selection.PasteSpecial Paste:=xlPasteFormats

"davethewelder" wrote:

Hi, i am trying to figure out how to format a cells based on the value of
another cell, F66.
I have a spreadsheet with 7 lists of clients with at various locations on
the spreadsheet and a matching credit score next to them. I wish to format
the cell in the list equivelant to the value of F66 and the adjacent cell
with an outline heavy border round the two cells. I can conditional format
for one cell but not the two.

Any ideas would be greatly appreciated.

Davie


davethewelder

Format cell plus adjoining cell
 
Joel, if the condition is true for A5 I want the border to cover A5:B5. The
additional cell will always be to the right of the conditional cell. There
are no cells with the border already created to copy.
Also I have two conditional formats already on the spreadsheet. It is the
code to reference the two cells I am trying to find.

Davie

"Joel" wrote:

Use pastespecial and use formats.

Selection.PasteSpecial Paste:=xlPasteFormats

"davethewelder" wrote:

Hi, i am trying to figure out how to format a cells based on the value of
another cell, F66.
I have a spreadsheet with 7 lists of clients with at various locations on
the spreadsheet and a matching credit score next to them. I wish to format
the cell in the list equivelant to the value of F66 and the adjacent cell
with an outline heavy border round the two cells. I can conditional format
for one cell but not the two.

Any ideas would be greatly appreciated.

Davie



All times are GMT +1. The time now is 08:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com