diff --git a/ePublishing/Footnotes.xba b/ePublishing/Footnotes.xba index 6ef73e9..2387098 100644 --- a/ePublishing/Footnotes.xba +++ b/ePublishing/Footnotes.xba @@ -1,6 +1,6 @@ -sub footMark3 +sub footMark4 End Sub Sub openFootNotesDialog @@ -293,11 +293,11 @@ Sub processNumRange(range As String, pageNums() As Integer) Dim firstNum As Integer Dim secondNum As Integer rangeParts = split( range, "-") - + If UBound(rangeParts) = 1 Then firstValue = trim(rangeParts(0)) secondValue = trim(rangeParts(1)) - If ( IsDigit(firstValue) And IsDigit(secondValue)) Then + If ( IsNumeric(firstValue) And IsNumeric(secondValue)) Then firstNum = CInt(firstValue) secondNum = CInt(secondValue) If firstNum <= secondNum Then @@ -311,7 +311,7 @@ Sub processNumRange(range As String, pageNums() As Integer) EndIf If UBound(rangeParts) = 0 Then firstValue = trim(rangeParts(0)) - If IsDigit(firstValue) Then + If IsNumeric(firstValue) Then firstNum = CInt(firstValue) If (NOT IsInArray(pageNums, firstNum)) Then addToArray(pageNums, firstNum)