我有一个脚本可以从 excel 加载数据,然后生成一个新的公式列。 然而,该列显示为空,即使我的公式预览显示值。 一旦我将列复制/粘贴到同一个数据表中,值就会突然出现。 这里发生了什么?
最简单的演示是通过下面的 gif。 我还添加了脚本和 excel 表。

Names Default To Here( 1 );
//Prompt to select and open an MS Excel file
path = Pick File( "Select Excel File", "$DOCUMENTS", {"Excel Files|csv;xlsx;xls", "All Files|*"}, 1, 0 );
fname = Word( 1, Word( -1, path, "/" ), "." );
//Let the user choose the name of the datatable
w = New Window( "Choose datatable name", // opens a window with a title and this content...
<<MODAL></MODAL>