你好,
我想在設置列下的單元格中獲取項目的總數。 有人可以給我建議我如何對其進行編碼,以便它將獲取:setting 列下的值併計算總數,如:Total Items 下所示。 非常感謝。

這是我想出的 Total Items 列的公式。
count = 0;
i = 1;
While( Word( i, :setting, "," ) != "",
theWord = Word( i, :setting, "," );
If( Contains( theWord, "-" ) | Contains( theWord, ":" ),
Show( Row(), theWord );
count = ((count + Num( Word( 2, theWord, "-:" ) )) - Num( Word( 1, theWord, "-:" ) )) + 1;
,
count
++);
i++;
);
count;