Hi,
Code
Sub Sample()
MyVal = Application.WorksheetFunction.Count(A:A)
[A1:A20] = [INDEX(Lower(A1:A20),)]
End Sub
How can I replace A20 with MyVal please.
This is a wonderful one liner which enables me to convert text to UPPER or LOWER case without the need for a loop & UCASE/LCASE. But how can I use variables with [ ]...
Thank you