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.

本文將說明 Microsoft Excel 中 UNICHAR 函數的公式語法及使用方式。

描述

傳回指定數值參照的 Unicode 字元。

語法

UNICHAR(number)

UNICHAR 函數語法具有下列引數。

  • Number    必要。 Number 是代表字元的 Unicode 數位。

註解

  • 傳回的 Unicode 字元可以是字元的字串,例如,以 UTF-8 或 UTF-16 編碼。

  • 如果 Unicode 數字是部分替代及無效的資料類型,UNICHAR 會傳回 #N/A 錯誤值。

  • 如果數值是允許範圍以外的數值,UNICHAR 會傳回 #VALUE! 錯誤值。

  • 如果數字是零 (0),UNICHAR 會傳回 #VALUE! 錯誤值。

範例

請在下列表格中複製範例資料,再將之貼到新 Excel 活頁簿中的儲存格 A1。 若要讓公式顯示結果,請選取公式,按 F2,然後再按 Enter。 如有需要,您可以調整欄寬來查看所有資料。

公式

描述

結果

=UNICHAR(66)

傳回以 Unicode 數字 66 (大寫 B) 表示的字元。

B

=UNICHAR(32)

傳回以 Unicode 數字 32 (空白字元) 表示的字元。

空白字元

=UNICHAR(0)

Unicode 數字 0 會傳回錯誤值 #VALUE!

#VALUE!

頁面頂端

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!

×