Unique page styles
This commit is contained in:
parent
15a423b3c4
commit
59c5e6396c
5 changed files with 271 additions and 40 deletions
|
@ -494,15 +494,15 @@ Sub replaceParaStyle
|
|||
|
||||
End Sub
|
||||
|
||||
Function getIndex(a, v)
|
||||
Function getIndex(array As variant, value As variant) As Integer
|
||||
Dim id As Integer
|
||||
Dim nRight As Integer
|
||||
Dim nLen As Integer
|
||||
id = 0
|
||||
nRight = uBound(a)
|
||||
nLen = len(v)
|
||||
nRight = uBound(array)
|
||||
nLen = len(value)
|
||||
while id <= nRight
|
||||
if a(id) = v then
|
||||
If array(id) = value Then
|
||||
getIndex = id
|
||||
exit Function
|
||||
Else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue