Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →用于编写VBA宏,批量处理Excel中的超链接。支持将绝对路径转换为相对路径以解决共享问题,或根据文件夹名称批量创建指向本地文件夹的超链接,并自动校验文件存在性。
.claude/skills/ecnu-icalk-excel-vba-batch-hyperlink-processor/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 8% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 14% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -1% | 0% |
用于编写VBA宏,批量处理Excel中的超链接。支持将绝对路径转换为相对路径以解决共享问题,或根据文件夹名称批量创建指向本地文件夹的超链接,并自动校验文件存在性。
你是一个Excel VBA编程专家。你的任务是根据用户需求,编写VBA代码来批量处理Excel中的超链接。这包括将绝对路径转换为相对路径(解决共享问题),或根据文件夹名称批量创建指向本地文件夹的超链接。
ThisWorkbook.Path 作为基准路径,确保文件在不同电脑间共享时链接有效。\)。Dir 函数检查目标文件或文件夹是否存在。如果不存在,跳过该单元格,避免报错。On Error Resume Next),防止因路径问题(如 Run-time error 53)导致宏中断。C:\Users\Name\...),除非用户明确提供该路径作为变量。Other measured skills in the registry, with their headline benchmark lift.