B
bvb09
Guest
Bonjour,
Je souhaiterais avoir une macro qui me permette de transformer les ref. de machines qui sont parfois des nombres, en texte. J´ai écrit ce code en vba... Mais cela ne fonctionne pas. Quelqu´un aurait-il une idée?
Sub ZahlInText()
Dim mycell As Range
For Each mycell In Range("maschinen")
If mycell.Value <> 0 And Application.WorksheetFunction.IsNumber(mycell.Value) then
mycell = Str(mycell.Value)
Else: End If
Next mycell
End Sub
Je souhaiterais avoir une macro qui me permette de transformer les ref. de machines qui sont parfois des nombres, en texte. J´ai écrit ce code en vba... Mais cela ne fonctionne pas. Quelqu´un aurait-il une idée?
Sub ZahlInText()
Dim mycell As Range
For Each mycell In Range("maschinen")
If mycell.Value <> 0 And Application.WorksheetFunction.IsNumber(mycell.Value) then
mycell = Str(mycell.Value)
Else: End If
Next mycell
End Sub