Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Commit 617be52

Browse files
authored
Merge pull request #7 from marmeleiro/v1.3.3
Windows11で発生するオートメーションエラー回避
2 parents 2e8c63c + d6f0562 commit 617be52

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

example/example.xlsm

412 Bytes
Binary file not shown.

src/kintoneDataReaderforVBA.cls

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Attribute VB_Creatable = False
88
Attribute VB_PredeclaredId = False
99
Attribute VB_Exposed = False
1010
' -----------------------------------------------------------------------
11-
' kintoneDataReaderforVBA v1.3.2
11+
' kintoneDataReaderforVBA v1.3.3
1212
' -Dictionary.cls と JsonConverter.bas のインポートが必要です。下記から取得してください。
1313
'   Dictionary.cls:v1.4.1で動作確認
1414
'   https://github.com/VBA-tools/VBA-Dictionary
@@ -996,6 +996,7 @@ Private Sub kvu_ClearRecordset()
996996
kvu_RecordCount = 0
997997
kvu_TotalRecordCount = 0
998998
Application.Wait [now()+"00:00:01"] 'Excelが落ちてしまう場合があるので回避策
999+
DoEvents
9991000
Erase kvu_Recordset
10001001
End Sub
10011002

@@ -1131,9 +1132,6 @@ End Sub
11311132

11321133
Private Sub Class_Terminate()
11331134
Call kvu_ClearRecordset
1134-
Set kvu_AppConf = Nothing
1135-
Set kvu_AppFields = Nothing
1136-
Set kvu_AppSubtableFields = Nothing
11371135
End Sub
11381136

11391137

0 commit comments

Comments
 (0)