|
|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
类似这种不对称的好像没有结果
{"words_result":[{"words":"日期","location":{"top":2,"left":38,"width":34,"height":22}},{"words":"AA","location":{"top":4,"left":192,"width":82,"height":18}},{"words":"BB","location":{"top":4,"left":447,"width":81,"height":18}},{"words":"CC","location":{"top":4,"left":700,"width":82,"height":18}}]}
js = "var r,k,row=c=1,d={};for(r in j.words_result){row++;for(k in j[r]){if(!d[k]){d[k]=c++;rng(1,d[k])=k;}rng(row,d[k])= j[r][k];}}"
|
|