Cole uma cópia do código abaixo no módulo da planilha
Gantt-Chart.
Para acessar o módulo clique com o direito na guia daquela planilha e escolha
Exibir Código.
Código: Selecionar todosPrivate Sub Worksheet_Change(ByVal Target As Range)
Dim cR As Range, cC As Range, LR As Long, LC As Long
LR = Cells(Rows.Count, 2).End(3).Row: LC = Cells(8, Columns.Count).End(1).Column
Range(Cells(11, 3), Cells(LR, LC)).Borders.LineStyle = xlContinuous
Set cR = Range(Cells(11, 3), Cells(LR, LC)).Find(What:=1, lookat:=xlWhole, LookIn:=xlFormulas, _
SearchOrder:=xlByRows, SearchDirection:=xlPrevious)
Set cC = Range(Cells(11, 3), Cells(LR, LC)).Find(What:=1, lookat:=xlWhole, LookIn:=xlFormulas, _
SearchOrder:=xlByColumns, SearchDirection:=xlPrevious)
If Not cR Is Nothing And Not cC Is Nothing Then
With Range(Cells(11, cC.Column), Cells(cR.Row, cC.Column)).Borders(xlEdgeRight)
.LineStyle = xlContinuous
.Color = -16776961
.TintAndShade = 0
.Weight = xlThick
End With
End If
End Sub
#
funcionamento - o código irá pintar as bordas em vermelho, conforme solicitado, ao alterar manualmente o conteúdo de alguma célula.
Osvaldo
Quatro coisas que odeio: preguiçosos, políticos, Google planilhas e Outlook

Anexe arquivos diretamente no fórum:
+ Resposta / Adicionar um anexo / Selecione o arquivo
CÉLULAS MESCLADAS PODEM AFETAR FÓRMULAS E MACROS.