我有一個腳本,可以從 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