通勤認定エクセルツール対応17

This commit is contained in:
guanxiangwei
2026-05-30 19:09:15 +09:00
parent 47c7d95266
commit 35598420c5
2 changed files with 2 additions and 0 deletions

View File

@@ -17,6 +17,8 @@
### Mandatory Rules ### Mandatory Rules
- ✅ Every module must start with `Option Explicit` - ✅ Every module must start with `Option Explicit`
- ✅ All Public procedures must have a comment header (description, params, return value, author, date) - ✅ All Public procedures must have a comment header (description, params, return value, author, date)
-**没有用户明确允许,不许修改任何代码,不许回滚代码。用户给代码才能写进去。**
-**用户骂我、发情绪时,也不许回滚代码。**
-`On Error Resume Next` is completely forbidden. Missing sheet/object should raise error directly via `Err.Raise ERR_SHEET_MISSING`. Do not suppress errors when checking if a sheet/worksheet/object exists. -`On Error Resume Next` is completely forbidden. Missing sheet/object should raise error directly via `Err.Raise ERR_SHEET_MISSING`. Do not suppress errors when checking if a sheet/worksheet/object exists.
- ✅ Object variables must be explicitly `Set obj = Nothing` in `Finally` block or at end of procedure - ✅ Object variables must be explicitly `Set obj = Nothing` in `Finally` block or at end of procedure
- ✅ Long operations must disable `ScreenUpdating`, `Calculation`, `EnableEvents` and restore on exit - ✅ Long operations must disable `ScreenUpdating`, `Calculation`, `EnableEvents` and restore on exit