ExcelHome技术论坛

 找回密码
 免费注册

QQ登录

只需一步,快速开始

快捷登录

搜索
EH技术汇-专业的职场技能充电站 妙哉!函数段子手趣味讲函数 Excel服务器-会Excel,做管理系统 效率神器,一键搞定繁琐工作
HR薪酬管理数字化实战 Excel 2021函数公式学习大典 Excel数据透视表实战秘技 打造核心竞争力的职场宝典
让更多数据处理,一键完成 数据工作者的案头书 免费直播课集锦 ExcelHome出品 - VBA代码宝免费下载
用ChatGPT与VBA一键搞定Excel WPS表格从入门到精通 Excel VBA经典代码实践指南
楼主: figfig

[原创] 在VBA中使用JAVASCRIPT和VBSCRIPT(2)

  [复制链接]

TA的精华主题

TA的得分主题

发表于 2016-8-21 11:31 | 显示全部楼层
本帖已被收录到知识树中,索引项:脚本语言应用
好贴,谢谢,学习了

TA的精华主题

TA的得分主题

发表于 2016-10-6 10:43 | 显示全部楼层
figfig 发表于 2009-9-16 23:54
Sub figjson4()
aa = "{ ""people"": [{ ""firstName"": ""Brett"", ""lastName"":""McLaughlin"", ""emai ...

{"Data":{"Table":[{"ProdCode":"Ag(T+D)","CurrentPrice":"4210.00","UpLowDirection":"0","UpLowRate":"-0.38%","SuccessAmount":"4654558","OpenPrice":"4221.00","YesterdayPrice":"4228.00","HighestPrice":"4245.00","LowestPrice":"4190.00","Kind":"001DZYH","UpdateTime":"2016-09-30 15:45:00","ShowOrder":"1","BuyUrl":"http://ewealth.abchina.com/Gold/client/201501/t20150109_661266.htm"},{"ProdCode":"Au(T+D)","CurrentPrice":"284.80","UpLowDirection":"0","UpLowRate":"0.09%","SuccessAmount":"48292","OpenPrice":"283.92","YesterdayPrice":"284.38","HighestPrice":"284.94","LowestPrice":"283.20","Kind":"001DZYH","UpdateTime":"2016-09-30 15:45:00","ShowOrder":"2","BuyUrl":"http://ewealth.abchina.com/Gold/client/201501/t20150109_661266.htm"},{"ProdCode":"Au(T+N1)","CurrentPrice":"286.25","UpLowDirection":"0","UpLowRate":"-0.43%","SuccessAmount":"80366","OpenPrice":"287.50","YesterdayPrice":"287.55","HighestPrice":"287.90","LowestPrice":"286.25","Kind":"001DZYH","UpdateTime":"2016-09-30 15:45:00","ShowOrder":"3","BuyUrl":"http://ewealth.abchina.com/Gold/client/201501/t20150109_661266.htm"},{"ProdCode":"Au(T+N2)","CurrentPrice":"284.90","UpLowDirection":"0","UpLowRate":"0.04%","SuccessAmount":"82000","OpenPrice":"284.30","YesterdayPrice":"284.65","HighestPrice":"286.50","LowestPrice":"284.10","Kind":"001DZYH","UpdateTime":"2016-09-30 15:45:00","ShowOrder":"4","BuyUrl":"http://ewealth.abchina.com/Gold/client/201501/t20150109_661266.htm"},{"ProdCode":"mAu(T+D)","CurrentPrice":"284.99","UpLowDirection":"0","UpLowRate":"0.09%","SuccessAmount":"44768","OpenPrice":"284.11","YesterdayPrice":"284.51","HighestPrice":"285.05","LowestPrice":"283.50","Kind":"001DZYH","UpdateTime":"2016-09-30 15:45:00","ShowOrder":"5","BuyUrl":"http://ewealth.abchina.com/Gold/client/201501/t20150109_661266.htm"},{"ProdCode":"Au100g","CurrentPrice":"285.00","UpLowDirection":"0","UpLowRate":"0.18%","SuccessAmount":"162","OpenPrice":"284.50","YesterdayPrice":"284.50","HighestPrice":"286.49","LowestPrice":"284.50","Kind":"002DZYH","UpdateTime":"2016-09-30 15:45:00","ShowOrder":"6","BuyUrl":"http://ewealth.abchina.com/Gold/client/201501/t20150109_661266.htm"},{"ProdCode":"Au99.95","CurrentPrice":"284.69","UpLowDirection":"0","UpLowRate":"0.30%","SuccessAmount":"1490","OpenPrice":"284.00","YesterdayPrice":"283.84","HighestPrice":"285.00","LowestPrice":"283.80","Kind":"002DZYH","UpdateTime":"2016-09-30 15:45:00","ShowOrder":"7","BuyUrl":"http://ewealth.abchina.com/Gold/client/201501/t20150109_661266.htm"},{"ProdCode":"Au99.99","CurrentPrice":"284.95","UpLowDirection":"0","UpLowRate":"0.14%","SuccessAmount":"833860","OpenPrice":"284.99","YesterdayPrice":"284.54","HighestPrice":"285.20","LowestPrice":"283.01","Kind":"002DZYH","UpdateTime":"2016-09-30 15:45:00","ShowOrder":"8","BuyUrl":"http://ewealth.abchina.com/Gold/client/201501/t20150109_661266.htm"}],"Table1":[{"ProdCode":"9101","ProdName":"人民币账户黄金","UpLowDirection":"0","CustomerSell":"272.79","CustomerBuy":"273.29","LowSell":"271.44","HighBuy":"274.22","UpdateTime":"2016-10-05 20:13:40","ShowOrder":"1","BasePrice":"273.960000","CurrentPrice":"273.040000","BuyUrl":""},{"ProdCode":"9201","ProdName":"人民币账户白银","UpLowDirection":"0","CustomerSell":"3.82","CustomerBuy":"3.84","LowSell":"3.79","HighBuy":"3.89","UpdateTime":"2016-10-05 20:13:38","ShowOrder":"2","BasePrice":"3.880000","CurrentPrice":"3.830000","BuyUrl":""},{"ProdCode":"9114","ProdName":"美元账户黄金","UpLowDirection":"0","CustomerSell":"1271.18","CustomerBuy":"1274.18","LowSell":"1265.32","HighBuy":"1278.95","UpdateTime":"2016-10-05 20:13:40","ShowOrder":"3","BasePrice":"1277.400000","CurrentPrice":"1272.680000","BuyUrl":""},{"ProdCode":"9214","ProdName":"美元账户白银","UpLowDirection":"0","CustomerSell":"17.79","CustomerBuy":"17.94","LowSell":"17.65","HighBuy":"18.17","UpdateTime":"2016-10-05 20:13:38","ShowOrder":"4","BasePrice":"18.085000","CurrentPrice":"17.865000","BuyUrl":""}]},"ErrorCode":"0","ErrorMsg":"","Url":null}
我得到的JSON是是样的,我解不了,可以帮我看看吗

TA的精华主题

TA的得分主题

发表于 2016-10-14 09:05 | 显示全部楼层

TA的精华主题

TA的得分主题

发表于 2016-11-8 11:34 | 显示全部楼层

TA的精华主题

TA的得分主题

发表于 2016-11-26 01:03 | 显示全部楼层
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件       ★免费下载 ★       ★ 使用帮助
ccwan 发表于 2010-1-13 17:03
谢谢老师分享。
例子2运行到MsgBox y.Email这句时出错。

E会自动大写,所以该其他词,我也正在看例子

TA的精华主题

TA的得分主题

发表于 2016-11-27 14:54 | 显示全部楼层
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用  · 内置多项VBA编程加强工具       ★ 免费下载 ★      ★使用手册
本帖最后由 Kaohsing 于 2016-11-27 15:20 编辑
xdwy81129 发表于 2016-11-26 01:03
E会自动大写,所以该其他词,我也正在看例子


忘了那个大神说的定义一下,dim email  就可以啦

TA的精华主题

TA的得分主题

发表于 2017-10-3 10:48 | 显示全部楼层

TA的精华主题

TA的得分主题

发表于 2018-2-13 17:19 | 显示全部楼层

TA的精华主题

TA的得分主题

发表于 2018-3-15 20:21 | 显示全部楼层

TA的精华主题

TA的得分主题

发表于 2018-3-15 21:11 | 显示全部楼层
太棒了,收藏了,谢谢分享!
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

手机版|关于我们|联系我们|ExcelHome

GMT+8, 2024-12-22 18:44 , Processed in 0.031794 second(s), 7 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 1999-2023 Wooffice Inc.

沪公网安备 31011702000001号 沪ICP备11019229号-2

本论坛言论纯属发表者个人意见,任何违反国家相关法律的言论,本站将协助国家相关部门追究发言者责任!     本站特聘法律顾问:李志群律师

快速回复 返回顶部 返回列表