我有一个脚本,可以从 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>
编辑:好的,我现在明白了,我稍后将在脚本中更改变量名称。 因此,在创建列时强制列名称引用不正确。
公式中的力列名称似乎是错误的,直到您重命名为止。
Column Die strength Formula Interrupted
Name Unresolved: Force at row 1 in access or evaluation of 'Force' , :Force/*###*/
Formula evaluation errors have been ignored