Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

NumPages 功能變數會使用 [屬性] 對話方塊中 [統計數據] 索引標籤中的資訊,在檔中插入總頁數。 若要檢視 [摘要資訊] 對話框,請按兩下 [檔案] 索引標籤,再按兩下 [資訊],按下右側) 檔預覽下方的 [內容 (],然後按兩下 [進階內容]

語法

當您在文件中檢視 NumPages 功能變數時,語法看起來像這樣:

{ NUMPAGES }

附註:  功能變數代碼會指示功能變數該顯示的內容。 域結果是評估域代碼之後顯示在文件中的內容。 若要切換檢視功能變數代碼和功能變數代碼結果,請按 Alt+F9。

範例

若要在檔的每一頁上列印「第 12 頁,第 45 頁」等頁碼,請在頁首或頁尾插入下列文字和欄位。

{ PAGE }页, { NUMPAGES }

如果頁碼的開頭是 1 以外的頁碼,請使用 = (Formula) 字段來計算總頁碼計數。 若要判斷 使用中文件的起始頁碼,請 ([開始編號 ]) ,按兩下 [ 插入 ] 索引標籤,按兩下 [ 頁碼],然後按兩下 [ 頁碼格式]。 起始頁碼會顯示在 [ 起始頁碼] 方塊中

{ PAGE } 頁, / { = (StartingNumber - 1) + { NUMPAGES } }

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×