English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I took over a position where most of the files that I use have been created by someone else, a lot of them years ago. In some files the automatic border color is grey and it's getting tedious to go and change the border color to black. I have no idea how the automatic border color changed, but I need to turn it back. I tried using the Microsoft help, but they were going in the wrong direction. Can anyone provide me with some assistance please?

2007-02-13 06:33:07 · 2 answers · asked by duped4thelasttime 3 in Computers & Internet Software

Right now the automatic border color is grey.

2007-02-13 06:34:01 · update #1

2 answers

Run this macro and tweak accordngly.
Sub Changebordercolors()
Dim cell
For Each cell In Selection.Cells
If cell.Borders(xlEdgeTop).ColorIndex <> -4142 Then
cell.Borders(xlEdgeTop).ColorIndex = vbBlack
End If
If cell.Borders(xlEdgeBottom).ColorIndex <> -4142 Then
cell.Borders(xlEdgeBottom).ColorIndex = vbBlack
End If
If cell.Borders(xlEdgeLeft).ColorIndex <> -4142 Then
cell.Borders(xlEdgeLeft).ColorIndex = vbBlack
End If
Next
End Sub

2007-02-13 13:41:44 · answer #1 · answered by unnga 6 · 0 0

If as you assert you opt for a White border round your documents - then choose the Column/s outdoors your documents and use Fill command - white Repeat for Rows above and below documents then use choose Print section to contain the factors you've filled - then use Print Preview - web page Setup - Margins to Centralise documents Vertically and or Horizontally as you want. HTH

2016-11-27 20:37:37 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers