Bonjour,
j'aimerais mettre mon VBA excel sous google shets mais je ne sais pas comment faire. Voici ce que j'aimerais passer sous google sheets:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim i As Integer
For i = 7 To 980
If Cells(i, "C") <> "" And Cells(i, "A") = "" And Cells(i, "B") = "" Then
Cells(i, "A").Value = Date
Cells(i, "B").Value = Time
End If
Next
End Sub
Sub carton()
For i = 7 To 980
If Cells(i, "F").Value = "Seyfert" Then
Cells(i, "H").Value = Mid(Cells(i, "G").Value, 2, 5)
Cells(i, "I").Value = Mid(Cells(i, "G").Value, 13, 2)
Cells(i, "J").Value = Mid(Cells(i, "G").Value, 16, 4)
Cells(i, "K").Value = Mid(Cells(i, "G").Value, 21, 6)
ElseIf Cells(i, "F").Value = "VPK" Then
Cells(i, "H").Value = Mid(Cells(i, "G").Value, 1, 13)
Cells(i, "I").Value = Mid(Cells(i, "G").Value, 14, 3)
End If
Next i
End Sub
D'avance merci!