Jump to content
Fórum Script Brasil
  • 0

"destacar" Linhas...

Christian Duarte


2 answers to this question

Recommended Posts

  • 0

Bom dia

Isso foi o que consegui até agora...

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
 With Cells
        .Font.ColorIndex = 1
        .Interior.ColorIndex = 1
   End With
With Selection.EntireRow
              .Font.ColorIndex = 1
              .Font.Bold = True
              .Interior.ColorIndex = 2
     End With
End Sub

Porém, preciso delimitar uma"largura" para essa seleção. Por exemplo, da coluna B até a G.

Outra coisa, será que tem como só destacar somente a linha sem colorir o fundo?

Muito obrigado,


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...