Selamlar, aşağıdaki kodu şu şekilde çalıştırıyorum: =TEXTJOIN("";TRUE;B4:E10) ama buradaki seçili hücreleri tesine çevirmek istiyorum yani B4:E10 yerine B10:E4 gibi. Bunu yapmanın bir yolu var mı?
Function TEXTJOIN(delimiter As String, ignore_empty As Boolean, ParamArray cell_ar() As Variant)
For Each cellrng In cell_ar
For Each Cell In cellrng
If ignore_empty = False Then
Result = Result & Cell & delimiter
Else
If Cell <> "" Then
Result = Result & Cell & delimiter
End If
End If
Next Cell
Next cellrng
TEXTJOIN = Left(Result, Len(Result) - Len(delimiter))
End Function
Function TEXTJOIN(delimiter As String, ignore_empty As Boolean, ParamArray cell_ar() As Variant)
For Each cellrng In cell_ar
For Each Cell In cellrng
If ignore_empty = False Then
Result = Result & Cell & delimiter
Else
If Cell <> "" Then
Result = Result & Cell & delimiter
End If
End If
Next Cell
Next cellrng
TEXTJOIN = Left(Result, Len(Result) - Len(delimiter))
End Function