excel - Call a concatenate function into an active cell -
i have concatenate function (concatenaterange) works fine on variable 2 dimension array. can call function directly excel without problem in cell required follows:
=concatenaterange(b17:e27,"; ") my problem is, function called macro instead active cell change. can far activating required cell, cant work, here tried...
cells(currow, col5 + 4).activate call concatenaterange(b17:e27, "; ") or
cells(currow, col5 + 4).activate call concatenaterange("b17:e27", "; ") but neither work, guys?
kindly
gurpreet
if want formula within cell can:
cells(currow, col5 + 4).formula = "=concatenaterange(b17:e27, ""; "")" to assign snapshot can:
cells(currow, col5 + 4).value = concatenaterange([b17:e27], "; ")
Comments
Post a Comment