公式註解是包含在公式中的摘要文字,用來解說公式的設計及操作方式。註解不會列印,也不會影響公式;它們只會出現在 [公式編輯器] 中。請使用註解來說明公式的目的,或說明寫公式時進行的步驟。
註解的作用與 Visual Basic 中的註解相同。請以 Rem 或省略符號開始註解。
注意 以 Rem 開始的註解是單獨的陳述式,必須在新的一行開始,或用冒號與前一個陳述式隔開。
Rem This is a comment Rem This is another comment formula = 10 'So is any text after an apostrophe formula = 20 : Rem This is also a comment 'Comments can occur after the formula text