0

I'm trying to create a macro to copy the formula from an array formula, delete the array and then paste that value back into the first cell.

The problem I have is that after selecting the array I can't record F2 and copy contents. I just end up with whatever was in the paste buffer when I started.

Is there a way to do this?

4

1 回答 1

0

您是否在追求这样的事情,其中​​ Selection 是一个包含数组公式的单元格?

theFormula = Selection.Formula
Selection.FormulaArray = ""
Selection = theFormula
于 2013-10-09T12:46:50.217 回答