how to write results of a formula directly into an excel range by VBA code
问题 I have a series of functions for each of listobject columns. The file is heavy and crashing, so I want just to keep the results of each formula as static values. I can allocate formula to the range and ask excel to convert the range to value. But I am wondering if there is a way to ask VBA to write only the static values in the range instead of the formula itself. Here is what I have so far: Sub calculate2() Dim i As Long, t As Long t = Timer With Sheet3.ListObjects(1) For i = 3 To 9