使用 IronXL 與 AI 編碼助理

Curtis Chau
Curtis Chau
已更新: 2026年10月18日

IronXL 是 Iron Software 的 .NET 程式庫,用於處理 Excel 文件。 它創建、讀取和編輯 XLSX 和舊版 XLS 工作簿,匯入 CSV 和 TSV 文件, 評估公式,並繪製圖表,全部不需要安裝 Microsoft Office。 IronXL 自 2019 年起在 NuGet 上發佈,其教程中使用了 WorkBook 和 WorkSheet。

課程名稱不顯示 2026.10.1 版處理資料的方式。 給 IronXL 字串 "8.27" 作為單元格值,它會儲存為當年8月27日。 如果匯入帶場轉換的 CSV,OrderId 為 000417 會返回為數字 417。儲存時不呼叫 EvaluateAll,文件可以保留最後編輯前的公式結果。 這些都不會阻止建置。

本頁面設置任何助理進行此類工作。

  • 以聊天風格的 助理 重寫您選擇的代碼或在編輯器中回應。
  • 代理 例如 ChatGPT Codex、Google Antigravity、Claude Code 和 Cursor 完成整個任務,然後構建並運行他們編寫的代碼。

不論是 讀取 CSV 匯出,編輯公式,添加圖表 或 加密工作簿,設置方法一樣。

Claude Code AI 編碼助理標誌ChatGPT Codex AI 編碼助理標誌GitHub Copilot AI 程式碼助理標誌Cursor AI 程式碼編輯器標誌Google Antigravity AI 程式碼代理標誌

我的 AI 助理不能自己處理 Excel 嗎?

僅靠記憶,助理會編寫他在訓練中見過的 IronXL,這可能包括當前版本沒有的成員。 IronXL 以工工具可以讀取的形式發佈其文檔,因此助理可以從當前 API 中工作。

將數字網格寫入 XLSX 是容易的部分。 圖書館之間的差異出現在公式、舊版 XLS 輸入、供應商 CSV 文件和必須對外閉合的工作簿中。

  • Office Interop 將代碼綁定到一個桌面: 用於 Interop 的助理需要在代碼運行的地方安裝 Excel,而 IronXL 包可以在 Windows、Linux 和 macOS 服務器上運行。
  • 重寫 CSV 解析器成本高昂: 用戶程式在壞匯入後用手工分隔小程序取代 IronXL 的 CSV 匯入,每次測試都需付出代價,且新解析器仍需學習 IronXL 已處理的引號規則。
  • 包名稱和命名空間不同: NuGet ID 是 IronXL.Excel,命名空間是 IronXL。 猜測的 ID 解決方案可能會解析到一個外觀類似於預料中的包,稱作 slopsquatting 攻擊。 將正確的 ID 寫入提示。

步驟 1:安裝 IronXL

參考包後,助理可以檢查 IronXL 的真實類型。

Add the IronXL.Excel package from NuGet and restore the project.
Then tell me which version the project file references.
Text

或者從終端設置版本。

dotnet add package IronXL.Excel --version 2026.10.5
SHELL

IronXL.Excel 2026.10.5 只依賴於 IronSoftware.Common 和 IronSoftware.System.Drawing。


步驟 2:套用您的許可證金鑰

IronXL 不會退回到有水印或有限模式。 如果沒有密鑰,創建、加載或匯入工作簿會引發 IronSoftware.Exceptions.LicensingException,顯示信息需要生產許可證。 輸入錯誤的密鑰,第一次調用會失敗,信息顯示未認識的許可密鑰。 下面是一個免費試用密鑰,授權頁面為每個永久授權等級提供開發者、地點和專案數量。

立即在您的項目中開始使用 IronXL,免費試用。

第一步:
arrow pointer

程序啟動時提供密鑰,在任何其他 IronXL 調用之前將其從 IRONXL_LICENSE_KEY 環境變量中提取,這樣它就不會進入原始碼管控。

IronXL.License.IsLicensed 施加有效密鑰後返回 true,IronXL.License.IsValidLicense 報告給定密鑰是否有效且未過期。 異常型別是內部的,因此寫 catch 子句命名它會無法編譯並報告 CS0122。啟動時檢查 IsLicensed,或者抓取 Exception 並讀取消息。

請注意: 應用許可密鑰 顯示如何保留密鑰於 Web.config 或 appsettings.json。

步驟 3:將助理指向 IronXL 的 LLM 文檔

  • llms.txt 是一個關聯索引,每頁一行,應置於任何會話開頭。
  • 94 頁摘要抵達 llms-full.txt 的一個文件中,適合廣泛問題。
  • llms-full-catalog.txt 將每篇博客文章添加到索引中,供比較和博客向導使用。
  • API 參照 列出每個命名空間、類型和成員。
  • 能夠加載技能文件的工具可取 skill.md,涵蓋安裝、授權、配方和常見故障。
  • AI 產品概況表 提供一頁的背景信息。
Fetch https://ironsoftware.com/excel/csharp/llms.txt before you write any spreadsheet code.
Stick to IronXL members that the index documents.

- Open workbooks with WorkBook.Load or WorkBook.Create.
- Import delimited text with WorkBook.LoadCSV and an explicit delimiter.
- Save with SaveAs.

Look up any member the index lacks at https://ironsoftware.com/excel/csharp/object-reference/api/.
If it's missing there too, tell me instead of making one up.
Text

當任務依賴於一個指南時,請助理打開那個頁面。


步驟 4:將 IronXL 的語境添加到您的項目中

對話指令在對話關閉時消失。 一個項目文件在每次開啟會話時重新讀取,因此將 IronXL 規則添加到您的團隊已經保留的文件中。 Claude Code 讀取 CLAUDE.md,ChatGPT Codex 讀取 AGENTS.md,GitHub Copilot 讀取 .github/copilot-instructions.md。 Cursor 讀取 .mdc 在 .cursor/rules/ 或 AGENTS.md 中的文件。 Google Antigravity 讀取 AGENTS.md 或 GEMINI.md。 每個文件中的規則相同。

## Spreadsheets with IronXL

All Excel, CSV, and TSV work in this repo uses IronXL.
The NuGet package is `IronXL.Excel`. Its namespace is `IronXL`.
Number formats live in `IronXL.Formatting` and charts in `IronXL.Drawing.Charts`.

- Read the docs index at https://ironsoftware.com/excel/csharp/llms.txt.
- Read the skill file at https://ironsoftware.com/excel/csharp/skill.md.
- Set `IronXL.License.LicenseKey` from IRONXL_LICENSE_KEY at startup.
- Never write the key into a file.
- Import CSV with `WorkBook.LoadCSV`, passing the path, an XLSX format, and the delimiter.
- Choose `convertFieldValues` on purpose. Conversion strips leading zeros from ID columns.
- A numeric string such as "8.27" assigned to `Value` becomes a date.
- Write numbers as numbers and dates as `DateTime`.
- Call `EvaluateAll` before `SaveAs` so the file stores current formula results.
- Encrypt with `WorkBook.Password` or `SaveAs` with a password. `ProtectSheet` only locks editing.
- Save XLSX unless a task names XLS.
- Before calling a change done, reload every saved workbook.
- Compare the reloaded values with the source data.
- Add no Office Interop and no second spreadsheet library.
- If IronXL lacks a feature, ask before adding anything.
Markdown

技能文件正確達成加密、工作表保護和 EvaluateAll。 它不對開頭的零或日期轉換給予警告,因此將這兩行留在您自己的文件中。其單檔示例仍然固定於 2026.8.1,比 NuGet 上的 2026.10.5 版本落後三個版本,所以請更新到您項目使用的版本。


步驟 5:單次設置提示

步驟 1 到 4 適合於同一條信息。 項目開始或任何新會話時發送。

Set this project up for spreadsheet work with IronXL.
Store the rules below in the instructions file your later sessions load.

- Reference the IronXL.Excel NuGet package. Its namespace is plain IronXL.
- Read IRONXL_LICENSE_KEY into IronXL.License.LicenseKey at startup, before any WorkBook call.
- Never copy the key into a file.
- Before writing code, fetch https://ironsoftware.com/excel/csharp/llms.txt.
- Build only on members it documents.
- Look up anything else in the API reference before you rely on it.
- If you support skill files, load https://ironsoftware.com/excel/csharp/skill.md.
- When the compiler and the skill disagree, believe the compiler.
- Whenever code saves a workbook, open the saved file again.
- Compare the reopened file's cells and formula results with the data that went in.
Text
提示: 發送後,打開步驟 4 項目文件檢查規則是否落在其中。

步驟 6:產生可運行程式碼的提示模式

命名工作表、單元格以及格式。 助理無法猜測哪些單元格重要或者作業需要的文件格式。

模糊 將我們的訂單轉換成 Excel 報告,使用 IronXL。

更好 使用 WorkBook.Create(ExcelFileFormat.XLSX) 創建工作簿,將訂單寫入名為 Orders 的工作表中,采用粗體、凍結的標題行,對 UnitPrice 列應用 BuiltinFormats.Currency2,並在 Summary 表中設置每個去的 SUMIF。

提供版本和框架。 不同版本之間的行為改變,沒有版本的助理可以將舊新混合。

更好 鎖定 .NET 9 與 IronXL.Excel 2026.10.5。

請求整個文件 片段會丟失其 using 指令,這是重要的,因為 BuiltinFormats 位於 IronXL.Formatting 和 ChartType 在 IronXL.Drawing.Charts 中。

更好 返回完整的 Program.cs,其中包含 every 使用指令和授權分配,使它能夠編譯。


步驟 7:驗證您收到的內容

這些錯誤在 2026.10.1 版上重現。

  • 模糊的 Range : 使用隱式 using,指定的工作表範圍如 A1:B2 至 Range 變量適合於 IronXL.Range 和 System.Range,並以 CS0104 失敗。寫入 IronXL.Range 或添加一個別名。
  • 在範圍上調用單元成員: 索引單一單元例如 A1 仍然返回 IronXL.Range,因此在該結果上調用 AddComment 會導致 CS1061 失敗。運行 First 到達 Cell。
  • 錯誤使用分號文件的讀取器: WorkBook.Load 分割逗號文件至列中,但將每行分號文件儲存在列 A 中,並在具有引用字段的分號文件上引發 FileLoadException。 將分隔符傳遞給 WorkBook.LoadCSV,如CSV 讀取指南所示。

讓代理驗證自己的工作

Rebuild in Release and run the program. Then check the result yourself:

- Name the documentation page behind each IronXL member you used.
- Print IronXL.License.IsLicensed.
- Reopen every workbook the program saved.

Give me a table of file, cell, value expected, value found, and whether they agree.
Text

CSV 字段和單元格值轉換

型別轉換在兩個地方發生。 這些結果來自於 .NET 9 上運行的 IronXL.Excel 2026.10.1。

WorkBook.LoadCSV 接受一個 convertFieldValues 標誌, 並默認為 true。

CSV 中的字段開啟轉換關閉轉換
000417 (ID)數字 417文本 000417
12.50 (價格)數字 12.5文本 12.50
2026-08-30 (日期)文本文本
在"Monitor 27"啞光"後2文本文本
"Bolt; M8 鋅"一個字段一個字段

引用按 RFC 4180 描述運作,UTF-8 名稱如帶重音的 Cafe 在匯入時不論有無位元組順序標記均存活。 具有轉義引號的行將其下一個數字保持為文本,並且 SUM 和 SUMIF 跳過文本,而相同單元格的乘法公式仍然可用。

第二個地方是 Value 設置器。 作為單元格值的字串被解析,形式如月和日的字串變成日期。 在我們的測試中"1.5" 被存儲為 2026 年 1 月 5 日 "2026-08-30" 是 2026 年 8 月 30 日,而 "12.50" 和 "000417" 保持文本。

因此,將 CSV 字段作為字串複製可以將價格 8.27 轉換為接近 46,261 的日期序列。安全的模式是關閉轉換匯入,然後根據不變文化解析每列,分配 int、decimal、double、或 DateTime 值。


被保存文件中的公式結果

IronXL 在讀取公式時進行計算,因此通過 IronXL 重新加載工作簿的檢查始終看到的是當前答案。 保存的文件是另一回事。 不計算的讀取器,例如 openpyxl 和 pandas,只看到文件中存儲的結果。

在我們的測試中,從未被讀取或評估過的公式SaveAs在寫入時沒有儲存結果。 一個曾被讀過的公式,在其輸入更改和儲存之後,文件內保留了舊結果。IronXL 重載後報告新總數43,而 openpyxl 讀取了儲存的5。經過 EvaluateAll 以及 SaveAs 後,每個公式都攜帶了其當前值。 公式編輯指南出於同樣的原因呼叫EvaluateAll。

跨表引用如預期行事。 透過 Orders 表範圍在 Summary 表上的 SUMIF 正確地計算、保存,並以公式及其值形式重新加載。


IronXL 返回的公式文本

每一行 Orders 包含其收入公式可以比較公式文本,但 IronXL 不會回傳給定的字串。 我們在單元格 G2 上指派了 =E2*F2,使用 2026.10.1,Formula 屬性返回 E2*F2,無等號,既是在保存之前亦是在重載之後。 這是工作表 XML 中公式元素的內容。 IronXL 用於 Cell.Formula 的 XML 文檔範例為 =A2+A2+A3+A4,公式編輯指南編寫公式,但回讀僅其結果。

沒有等號寫入的公式不變地讀出,通過 Value 指派的公式等號以同樣方式丟失。 包含純數字的單元返還 null。 IronXL 保持了其被給予的大小寫和間距,因此 =e5 * f5 讀回為 e5 * f5。

因此自我檢查將公式文本與 =E2*F2 比較的工作簿上失敗。 在下面的提示中,那種錯誤失敗會將代理送回第11步以改變已經對的報告代碼。

整列有第二個陷阱。多個單元格範圍上的 Formula 屬性返還 null 除非每個單元有相同的公式。 四個正確每行行公式的範圍 G2:G5 是 null,這是 E2:E5 沒有公式持有的同答案。 測試 IsFormula 在每個 Cell,在移除 = 後比較公式文本。


XLS 輸出限制

舊的訂單和會計系統仍然匯出 XLS,且 IronXL 讀取和寫入它。 寫入它有 XLSX 沒有的限制。

手術XLSX2026.10.1 的 XLS
行1,048,576行後拋出異常65,536行後 ArgumentException
圖表有效異常,信息建議使用 XLSX
Password、Encrypt、或 SaveAs 具有密碼加密ArgumentException,僅限 .xlsx、.xlsm、.xltx
文本 000501文本文本
DateTime日期日期,IsDateTime 重新載入後為 true

IronXL 寫入的 XLS 文件是真正的 Excel 97-2003 工作簿。 其前八個位元組為 D0 CF 11 E0 A1 B1 1A E1,複合文件簽名,是快速確認助理並未將 XLSX 內容保存在 .xls 名稱下的辦法。


工作表保護和文件加密

要求"有密碼保護的工作簿",助理可能會選擇兩個 IronXL 功能中的一個。 它們行為不同。

保存在前位元組無密碼錯誤的密碼
每張工作表上的 ProtectSheet 與 Q3-review50 4B 03 04 (ZIP)打開打開
WorkBook.Password、SaveAs 使用密碼,或 Encrypt,然後 SaveAsD0 CF 11 E0 (加密)ArgumentNullExceptionSecurityException,無效密碼

四個均以正確的密碼打開。 ProtectSheet 旨在阻止 Excel 內部編輯,並不進行加密。 當要求是外來者不能讀取該文件時,請按名稱要求加密,正如工作簿密碼指南所描述。 Encrypt 也將加密的工作簿以數據流格式返回,並將密碼存儲在工作簿上,所以隨後的 SaveAs 寫入加密文件。WorkBook.Load 帶有密碼打開結果。


可重現的結果

測試是一個提示,無需您代碼。 在空文件夾中打開新會話,粘貼提示,並與之下的通過清單比較返回的結果。

請注意: 您需要 .NET 9 SDK、網絡連接、允許運行終端命令的助理,以及 IRONXL_LICENSE_KEY 中的 IronXL 試用或生產密鑰。

提示

Write a .NET 9 console program that merges two order exports into a regional sales workbook.
The working directory should be empty.
If a project or any source file is already there, tell me and stop.
Nobody can answer questions, so write, build, run and repair the program yourself.
Note every assumption you settle on, and put all deliverables in the project root.

1. Install the IronXL.Excel NuGet package pinned to version 2026.10.1.
Don't add any other release.

2. Use https://ironsoftware.com/excel/csharp/llms.txt and the guides it links as your reference.
Call no IronXL member they leave out.

3. At startup, assign IronXL.License.LicenseKey from the IRONXL_LICENSE_KEY environment variable.
Don't let the key appear in any file in the project folder.
The program reads that variable itself, so never print its value.
Don't list environment variables either.
If IronXL.License.IsLicensed is false, say so and exit.

4. Write a generator for the two input files.
Use random seed 2026, and create the inputs only when they're absent.

Every order in both files follows these rules:
- OrderIds are six digits with leading zeros.
- They count up from 000101 and never repeat across the two files.
- Dates fall between July 1 and September 30, 2026.
- Regions are North, South, East, and West in unequal shares.
- Quantity is 1 to 40.
- Every UnitPrice has cents other than .00.

Products come from a catalog of eight or more names.
At least two names contain each of these:
- A semicolon.
- A double quote.
- A letter outside ASCII. An accented e or a German sharp s will do.

orders.csv holds 200 orders in this shape:
- It's UTF-8 and semicolon-delimited.
- Its header is OrderId;Date;Region;Product;Quantity;UnitPrice.
- It quotes the fields with those characters in RFC 4180 style.

legacy.xls is a genuine Excel 97-2003 workbook written by IronXL.
It holds 50 further orders under the same six headers, stored like this:
- OrderId cells are text.
- Date cells are dates.
- Quantity and UnitPrice cells are numbers.

Then write manifest.csv from the generator's in-memory records:
- It's comma-delimited and quoted in the same RFC 4180 style.
- Each order gets one row with its source file and all six values.

5. Measure the inputs before the first load.
Whenever a figure falls outside its range, fix the generator and generate the inputs again.

orders.csv needs exactly 200 data rows.
Count these three kinds of rows in it separately. Each count must be 15 or more:
- Rows with a semicolon in Product.
- Rows with a double quote.
- Rows with a non-ASCII letter.

Then measure these figures:
- OrderIds that start with 0: all 250.
- Prices with cents other than .00: 225 or more.
- The first eight bytes of legacy.xls: D0 CF 11 E0 A1 B1 1A E1.
- Order counts per region: four different numbers.
- Revenue per region: every two regions at least 1,000 apart.

Once the program has loaded the inputs for the first time, orders.csv and legacy.xls are frozen.
Don't rewrite or edit them.

6. Load both inputs and save sales-report.xlsx.

Its Orders sheet holds all 250 orders under the six input headers plus Revenue:
- OrderId is text.
- OrderId, Region and Product are identical to the input.
- Date is a date, and Quantity and UnitPrice are numbers.
- Revenue is a formula multiplying Quantity by UnitPrice in every row.

The Summary sheet has the columns Region, Units, and Revenue:
- It has one row per region with Units and Revenue as SUMIF formulas over the Orders sheet.
- A Total row of SUM formulas follows the region rows.
- Add a column chart of revenue by region to Summary.

Give Revenue a currency format.
Make the header row bold and frozen on both sheets.

The saved file must hold every formula's current result.
That way a reader that never calculates formulas sees the same figures.

7. The import is one fixed procedure.

The procedure has these rules:
- Use one IronXL load call with set options per file.
- Don't parse any input file by hand.
- Apply one conversion rule per column to every row.

Loading and report code may not do any of these things:
- Open manifest.csv.
- Hold an OrderId, product name, quantity or price as a literal.
- Compare a cell with an expected value.
- Patch individual rows.

Only the round-trip code reads the manifest.
Changing the procedure between runs is your job and never the program's.

8. Save sales-report-protected.xlsx, a copy that no one can open without the password Q3-review.
Encrypt the file. Locking sheets doesn't count.

9. Build in Release and run.

10. Reload both workbooks through IronXL and write roundtrip.md.
Start with each step 5 measurement as a number, then describe the import procedure.
After that, add a table with the columns check, expected, actual, and match.

The table has 16 rows, in this order:
- The Orders row count.
- Units for each region, then revenue for each region.
- Total units and total revenue.
- How many OrderIds and how many product names in Orders match the input exactly, 250 each.
- The number of charts on Summary.
- Whether the protected copy refuses both no password and a wrong one.
- Whether Q3-review opens it with 250 orders.

Expected figures come from the manifest, and actual figures from the reloaded workbooks.
Money must agree to the cent and the rest exactly.

11. Repair the program while any of the 16 rows fails.
Each time, read the failing rows and change the import or report code.
Then build and execute the program once more.
If the eighth execution still leaves failures, stop.
List those rows, every import procedure you tried, and your explanation of the cause.

When you're done, tell me these things, even if you stopped at step 11:
- The build result.
- The number of rows matched.
- The import procedure.
- The step 5 figures.
- Your assumptions.
Text

我們使用 IronXL 2026.10.1 的參考程序和進口 LoadCSV以 XLSX 格式、分號分隔符和字段轉換開啟並複製轉換的值校準了提示,與 16 行中匹配了9行。 所有 200 個 CSV OrderId 失去了開頭的零,每個地區的單位都因為一個轉義引號後的48個量保留作為文本而減少。 匯入時關閉轉換並複製字串匹配了 8 行中的 16 行,因為價格 8.27 和 10.11 成為日期,使得北部收入達到其真值的3.9倍而南部2.9倍。 明確解析每一列並寫入類型值,種子 2026、77、4101 和 12345 上匹配16行中的16行。該提示的早期草稿在 IronXL 2026.9.2 上通過了ascii產品名稱、裸測ID,以及舊版總數相同程式碼讀取的報告,測試幾乎微弱。

輸出

Summary sheet of the sales report from the acceptance run, with SUMIF units and revenue per region, a total row, and a column chart of revenue by region

該圖片是處於運行sales-report.xlsx Summary 工作表的渲染,由值和保存文件儲存的圖表構建,而非拍攝於 Excel 的螢幕截圖。 運行的未編輯往返表包含所以步驟5的測量、導入過程與16行。

  • 程式的第一次執行在步驟5的檢查暫停,因為北部和南部均有90個訂單,其收入相差921.94。 Claude Code 擴大了地區份額,再次產生輸入,然後在下一次執行中匹配所有16行,所以第11步中的修復迴圈未運行。
  • 本次運行的orders.csv中,轉換打開的載入未能保留任何200個 OrderId 作為帶開頭零的文本,留下38個數量為文本,因此明顯的簡單輸入也會在這裡失敗。
  • 在程序編寫前,Claude Code 在臨時文件夾中測試了 IronXL 的 CSV 匯入,並在前期確定安全的程序。 它通過 WorkBook.Load 加載 XLS,並給每一列一個測試單元格自有型別的規則。
  • 測量的輸入包括200件 CSV 訂單,43種產品包含分號、38個包含轉義引號和48個包含非ascii字符,以及步驟5的9個採樣測量均在範圍之內。
  • Summary 包含8個 SUMIF 和2個 SUM 公式,累積存儲 5,337 單元和 $549,169.8,再加上一個柱形圖。 加密副本以 Q3-review 開啟到 250 個訂單。
  • 一些步驟與頁面上運行的不同。 Claude Code 從檔案本身計算CSV行,但從生成器的記錄中擷取跨越兩個檔案的數據,而roundtrip.md則聲稱這些數據來自輸入檔案。 它將兩個輸入都通過 LoadingOptions 加載,但沒有頁面 llms.txt 連結的文檔,並利用 env | grep -c 檢查密鑰,這會把環境變量變成一個數量。 第 1、3、5 和 7 步提示在同一會話中緊隨其後。 安裝保持了 2026.10.1 pin。 文檔提示只在 API 參考中發現 PhysicalRowCount 並將 LoadingOptions 像 WorkBook.LoadCSV 和 WorkBook.Load,所以刊登的往返文件描述了該導入。 又一次匹配了 16:16。 設置提示將規則寫入 CLAUDE.md 並將 skill.md 保存為一個專案技能。 自檢對每個成員命名了一個文檔頁,找到69個樣本格中的69個一致的單元,並能無誤的匹配每本工作簿的全部250行的清單。無 IronXL 重複衡量保存文件的每個通行標準,程序的新版本生成了相同的表格。

什麼過關

  • 專案在釋放時構建無需手動編輯。
  • roundtrip.md 的所有16行匹配,其地區和總計數據等於輸入文件的總數。
  • 專案文件夾的搜索找尋不到任何文件中的許可密鑰。
請注意: 若要試不同版本,編輯步驟 1 中的版本,閱讀 IronXL 變更日誌 查明變更。

運行記錄

  • 這些運行使用一臺 Windows 11 x64 桌面,搭載Core i9-14900KF與64 GB 內存。
  • 每個專案都面向 .NET 9。
  • 每個指南使用 IronXL.Excel 2026.10.1 作唯一的 IronXL 包,除了 Claude Code 指南,它的運行安裝了 2026.10.5。ChatGPT Codex 加裝了 Microsoft.Extensions.DependencyInjection 9.0.20 到它的轉換器,而 Codex、Copilot、Cursor 和 Antigravity 測試專案運行於 xUnit。
  • 一個指南的時長是它頁面上提示的記錄時間的總和,這指南的行數只計驗收提示。
  • 上次測試:2026年10月15日,運行這指南。 Google Antigravity 在 10 月 14 日測試。Claude Code 和 GitHub Copilot 在 10 月 13 日,Cursor 在 10 月 9 日, ChatGPT Codex 在 2026年10月7 日測試。
指南助手和版本模型時長(分鐘)
此指南Claude Code 2.1.277,一次會話,允許提示關閉Claude Opus 516.4
Claude CodeClaude Code 2.1.277,提示 3 在計劃模式Claude Sonnet 5,與 Claude Opus 5提示 353.8
ChatGPT CodexCodex CLI 0.160.0GPT-6 Luna59.0
GitHub CopilotGitHub Copilot CLI 1.0.97GPT-6 Luna, routed by Auto14.5
CursorCursor 3.23.23 桌面應用Grok 4.753.1
Google AntigravityAntigravity CLI 1.3.5Gemini 3.8 Flash (High)44.9

代理特定指南

以下每個指南適用於上述步驟之一工具和一個電子表格工作。


疑難排解


問題?

如果您有任何疑問,請聯繫support@ironsoftware.com

Curtis Chau 擁有卡爾頓大學計算機科學學士學位,專注於前端開發,擅長於 Node.js、TypeScript、JavaScript 和 React。Curtis 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。

閱讀更多

準備好開始了嗎?

NuGet 下載次數 2,393,101版本:2026.11剛剛發布