Iterating through the Object Browser in VBA

前端 未结 5 1396
抹茶落季
抹茶落季 2021-01-03 05:43

I would like to iterate through members of any class in a referenced library much like is done using the Object Browser. How can this be done using VBA?

5条回答
  •  半阙折子戏
    2021-01-03 06:04

    Unfortunately, Access VBA doesn't support reflection. You could try creating your own abstraction of the object hierarchy that will inspect property values, etc. for you. You might start with something like this:

    http://msdn.microsoft.com/en-us/library/aa663065%28office.11%29.aspx

提交回复
热议问题