Warum funktioniert das:.Find - Putting Variable in Search verursacht Laufzeitfehler 13 - Typenkonflikt
Set rowNonBlankFound = Rows(rowToUse).Find(what:="*", after:=Cells(rowToUse, leftMostCol), LookIn:=xlValues, SearchDirection:=xlNext)
Aber dies nicht:
Dim direction As String direction = "xlNext" Set rowNonBlankFound = Rows(rowToUse).Find(what:="*", after:=Cells(rowToUse, leftMostCol), LookIn:=xlValues, SearchDirection:=direction)
ich Laufzeitfehler 13 - Typenkonflikt?
Richtung eine Aufzählung ist https://msdn.microsoft .com/de-us/library/office/ff841198.aspx muss eine Nummer oder ein Enumerationsäquivalent sein –
Ein bisschen weiterzulesen: https://en.wikipedia.org/wiki/Enumerated_type –
Danke für Wiki-Artikel. – Slab