VBA getting values from a collection?

后端 未结 3 1369
情书的邮戳
情书的邮戳 2020-12-10 19:14

I am very new to VBA and I can not figure out how to get values from a Collection.

This is my code:

Dim p As Object
Set p = JSON.parse(Response.Conte         


        
3条回答
  •  抹茶落季
    2020-12-10 19:34

    Don't forget the bang operator, designed for collection access by key:

    links(1)!rel
    

    or:

    links(1)![rel] 'When there are spaces or reserved words.
    

提交回复
热议问题