VBA getElementById with dynamic ID

后端 未结 2 907
温柔的废话
温柔的废话 2021-01-21 16:43

I\'ve been searching this whole forum, msdn and specialised tutorials and I can\'t find the answer for VBA: How can I make the getElementById work in an access VBA

2条回答
  •  日久生厌
    2021-01-21 17:08

    1. Identify the closest parent tag that always contains the ID (manually, by looking at your HTML).
    2. Enumerate all descendant
      s of that tag, testing their ID property with Like.

提交回复
热议问题