Excel.ErrorCellValueType enum
オブジェクトの型を ErrorCellValue
表します。
注釈
例
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/20-data-types/data-types-error-values.yaml
// This function sets the value of cell A1 to a #BUSY! error using data types.
await Excel.run(async (context) => {
// Retrieve the Sample worksheet and cell A1 on that sheet.
const sheet = context.workbook.worksheets.getItemOrNullObject("Sample");
const range = sheet.getRange("A1");
// Get the error data type and set its type to `busy`.
const error: Excel.ErrorCellValue = {
type: Excel.CellValueType.error,
errorType: Excel.ErrorCellValueType.busy
};
// Set cell A1 as the busy error.
range.valuesAsJson = [[error]];
await context.sync();
});
フィールド
blocked = "Blocked" | を表します |
busy = "Busy" | を表します |
calc = "Calc" | を表します |
connect = "Connect" | を表します |
div0 = "Div0" | を表します |
external = "External" | を表します |
field = "Field" | を表します |
gettingData = "GettingData" | を表します |
name = "Name" | を表します |
notAvailable = "NotAvailable" | を表します |
null = "Null" | を表します |
num = "Num" | を表します |
placeholder = "Placeholder" | を表します |
python = "Python" | を表します |
ref = "Ref" | を表します |
spill = "Spill" | を表します |
timeout = "Timeout" | を表します |
value = "Value" | を表します |
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Office Add-ins
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示