Hmm, I think that it's not working.

Can u check this out?

   If Extrusão.ComboBox6.Value = "Fino" Then
    
    k = 1

    Do While Folha10.Cells(1, 1 + k) <> "" '

    k = k + 1

    Loop

    Folha10.Cells(1, 1 + k) = Extrusão.ComboBox3.Value
    
    Dim rcnt50 As Long
    
    rcnt50 = Folha10.Cells(1, Columns.Count).End(xlToLeft).Column
    
    For i = 1 To rcnt50
    
    If Folha10.Cells("1" & i) = Extrusão.ComboBox3.Value Then
    Folha10.Cells(1, 1 + k) = ""
    End If
    Next
    End if
I'm trying to say that if it's "Fino" then he should put data in Folha 10 (it's working).

Then I was saying that if the value from combobox3 it's the same from the data already recorded he shouldn't save.

Why isn't this working?

Thanks