LIMPAR MS FLEXGRID
                    Galera alguem pode me ajudar, to precisando de uma funcao para APAGAR todos os *** (asteriscos) das celulas do MS FLEXGRID, ou seja, a funcao verifica todo o Grid e a celula que tiver **** deixa em branco.
                
            
                    Sub ColorirGrid()
Dim iL As Integer, iC As Integer
With TDBGrid1
For iL = 1 To .Rows - 1
For iC = 0 To .Cols - 1
.Col = iC
.Row = iL
If .TextMatrix(.Row,1) = [Ô]***[Ô] Then
TextMatrix(.row,1)=[Ô][Ô]
End If
Next iC
Next iL
End With
End Sub
            Dim iL As Integer, iC As Integer
With TDBGrid1
For iL = 1 To .Rows - 1
For iC = 0 To .Cols - 1
.Col = iC
.Row = iL
If .TextMatrix(.Row,1) = [Ô]***[Ô] Then
TextMatrix(.row,1)=[Ô][Ô]
End If
Next iC
Next iL
End With
End Sub
                    assim colega
                
            With MSFlexgrid1
For R = 1 To .Rows - 1
       For C = 0 To .Cols [txt-color=#007100][ô] Se vc possuir uma coluna fixa então For C = 1 To .Cols - 1[/txt-color]
             .TextMatrix(R, C) = Replace(.TextMatrix(R, C),[Ô]*[Ô],[Ô][Ô])
       Next C
Next R
End With
                        Tópico encerrado , respostas não são mais permitidas