Fixed to deal with the localized formula names.
This commit is contained in:
parent
14a278bad9
commit
0d1c2ea2b2
@ -180,6 +180,8 @@ Sub subCreateReport ( _
|
|||||||
sFormula = "=(" & sColIVAttack & "+" & sColIVDefense _
|
sFormula = "=(" & sColIVAttack & "+" & sColIVDefense _
|
||||||
& "+" & sColIVStamina & ")/45"
|
& "+" & sColIVStamina & ")/45"
|
||||||
oCell.setFormula (sFormula)
|
oCell.setFormula (sFormula)
|
||||||
|
sFormula = oCell.getPropertyValue ("FormulaLocal")
|
||||||
|
oCell.setPropertyValue ("FormulaLocal", sFormula)
|
||||||
|
|
||||||
nCol = nLeadCols
|
nCol = nLeadCols
|
||||||
If aBaseStats.bIsLastForm Then
|
If aBaseStats.bIsLastForm Then
|
||||||
@ -187,6 +189,8 @@ Sub subCreateReport ( _
|
|||||||
sFormula = fnGetCPFormula (aBaseStats, _
|
sFormula = fnGetCPFormula (aBaseStats, _
|
||||||
sColIVAttack, sColIVDefense, sColIVStamina, sMaxCPM)
|
sColIVAttack, sColIVDefense, sColIVStamina, sMaxCPM)
|
||||||
oCell.setFormula (sFormula)
|
oCell.setFormula (sFormula)
|
||||||
|
sFormula = oCell.getPropertyValue ("FormulaLocal")
|
||||||
|
oCell.setPropertyValue ("FormulaLocal", sFormula)
|
||||||
nCol = nCol + 1
|
nCol = nCol + 1
|
||||||
End If
|
End If
|
||||||
For nJ = 0 To nEvolved - 1
|
For nJ = 0 To nEvolved - 1
|
||||||
@ -194,12 +198,16 @@ Sub subCreateReport ( _
|
|||||||
sFormula = fnGetCPFormula (maEvBaseStats (nJ), _
|
sFormula = fnGetCPFormula (maEvBaseStats (nJ), _
|
||||||
sColIVAttack, sColIVDefense, sColIVStamina, sCPM)
|
sColIVAttack, sColIVDefense, sColIVStamina, sCPM)
|
||||||
oCell.setFormula (sFormula)
|
oCell.setFormula (sFormula)
|
||||||
|
sFormula = oCell.getPropertyValue ("FormulaLocal")
|
||||||
|
oCell.setPropertyValue ("FormulaLocal", sFormula)
|
||||||
nCol = nCol + 1
|
nCol = nCol + 1
|
||||||
If maEvBaseStats (nJ).bIsLastForm Then
|
If maEvBaseStats (nJ).bIsLastForm Then
|
||||||
oCell = oSheet.getCellByPosition (nCol, nI + 1)
|
oCell = oSheet.getCellByPosition (nCol, nI + 1)
|
||||||
sFormula = fnGetCPFormula (maEvBaseStats (nJ), _
|
sFormula = fnGetCPFormula (maEvBaseStats (nJ), _
|
||||||
sColIVAttack, sColIVDefense, sColIVStamina, sMaxCPM)
|
sColIVAttack, sColIVDefense, sColIVStamina, sMaxCPM)
|
||||||
oCell.setFormula (sFormula)
|
oCell.setFormula (sFormula)
|
||||||
|
sFormula = oCell.getPropertyValue ("FormulaLocal")
|
||||||
|
oCell.setPropertyValue ("FormulaLocal", sFormula)
|
||||||
nCol = nCol + 1
|
nCol = nCol + 1
|
||||||
End If
|
End If
|
||||||
Next nJ
|
Next nJ
|
||||||
|
Loading…
Reference in New Issue
Block a user