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

Commit 3087d6f

Browse files
authored
Merge pull request #8 from marmeleiro/v1.3.4
Waitの秒数を変更
2 parents c8f3e11 + fb8526b commit 3087d6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example/example.xlsm

-2.03 KB
Binary file not shown.

src/kintoneDataReaderforVBA.cls

Lines changed: 3 additions & 3 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.3
11+
' kintoneDataReaderforVBA v1.3.4
1212
' -Dictionary.cls と JsonConverter.bas のインポートが必要です。下記から取得してください。
1313
'   Dictionary.cls:v1.4.1で動作確認
1414
'   https://github.com/VBA-tools/VBA-Dictionary
@@ -867,7 +867,7 @@ Private Function kvu_GetFieldValue(ByVal FieldType As String, ByVal rec As Varia
867867
Select Case FieldType
868868

869869
Case "CREATOR", "MODIFIER"
870-
Application.Wait [now()+"00:00:01"] 'Excelが落ちてしまう場合があるので回避策
870+
Application.Wait [Now()] + 1 / 86400000 'Excelが落ちてしまう場合があるので回避策
871871
If kvu_isName Then
872872
kvu_GetFieldValue = rec("name")
873873
Else
@@ -995,7 +995,7 @@ End Function
995995
Private Sub kvu_ClearRecordset()
996996
kvu_RecordCount = 0
997997
kvu_TotalRecordCount = 0
998-
Application.Wait [now()+"00:00:01"] 'Excelが落ちてしまう場合があるので回避策
998+
Application.Wait [Now()] + 1 / 86400000 'Excelが落ちてしまう場合があるので回避策
999999
DoEvents
10001000
Erase kvu_Recordset
10011001
End Sub

0 commit comments

Comments
 (0)