Excel行の値を配列変数へ代入

いつもお世話になります。
計算式の代入で困っています。:disappointed_relieved:
hi,Forum members.
I am in trouble with assignment of calculation formulas.

データテーブルの指定範囲行まで、計算式をいれるシナリオを作成しています。
画像の、A3からG3に入っている計算式を12行目まで相対参照でコピーしたいです。
We create a scenario to put calculation formulas up to the designated range line of the data table.
I want to copy the calculation formula in A3 to G3 by relative reference up to the 12th line.

式を文字列として取得し、それを配列変数に入れて
データテーブルにForEachで計算式内を置換しつつ入れようとしたのですが、
配列変数へ文字列を入れる方法がわかません。
最後のassingwで以下のエラーメッセージが出てきます。
Get an expression as a string, put it in an array variable
I tried to replace the calculation formula with ForEach in the data table,
I do not know how to put a string in an array variable.
The following error message appears at the last assingw.

Assign : Object reference not set to an instance of an object.

配列変数へ文字列を入れる方法、
またはexcelのオートフィルに近い動きをするもの(画面記録なしで)を
ご存知の方、お知恵かしてください。
How to put a string in an array variable,
Or those that move closer to the excel autofill (without screen recording)
If you know, please be Teach Me.

よろしくお願いします。
Thank you.
Main.xaml (10.8 KB)

Hi,

How about this one.

1 Like

hi,ddpadil

教えてくれてありがとうございます!
Thank you for telling me.

I did not know the existence of Add To Collection
Add To Collectionの存在を知らなかったです・・・