如何在#34;中显示"内部"定价"来自laravel的json数组。
{
"result": "success",
"currency": {
"id": "1",
"code": "INR",
"prefix": " \u20b9",
"suffix": "INR",
"format": "1",
"rate": "1.00000"
},
"pricing": {
"in": {
"categories": [
"ccTLD",
"Geography"
],
"addons": {
"dns": true,
"email": true,
"idprotect": true
},
"group": "",
"register": {
"1": "704.39"
},
"transfer": {
"1": "704.39"
},
"renew": {
"1": "704.39"
}
}
使用whmcs api以及如何在"中显示数据"内部阵列"定价"在我看来。
答案 0 :(得分:0)
把它放在变量中。然后...
Option Explicit
Sub timeCFR()
With Worksheets("sheet5")
With .Range(.Cells(2, "C"), .Cells(8, "E"))
.FormatConditions.Delete
.FormatConditions.Add Type:=xlExpression, _
Formula1:="=AND(INDEX(Sheet4!$B:$B, MATCH(C$1, Sheet4!$A:$A, 0))<=$B2, INDEX(Sheet4!$C:$C, MATCH(C$1, Sheet4!$A:$A, 0))>=$B2)"
.FormatConditions(.FormatConditions.Count).Interior.Color = vbRed
End With
End With
End Sub