Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50295

save one dimensional array to a range

$
0
0
Can anyone tell me why this particular function doesn't work as a formula on a spreadsheet but it works fine in the immediate window?

Public Function test() As String

Range("A1:A3").Value = Application.WorksheetFunction.Transpose(Array("Apple", "Banana", "Orange"))

test = "Completed"

End Function

Viewing all articles
Browse latest Browse all 50295

Latest Images

Trending Articles



Latest Images