How to programmatically change conditional compilation properties of a VBA project

前端 未结 4 2153
梦毁少年i
梦毁少年i 2020-12-15 07:17

I\'m currently working on a VBA code generator/injector that adds VBA functionality to Excel workbooks by using the VBA Extensibility. This all works fine.

However,

4条回答
  •  温柔的废话
    2020-12-15 07:53

    For Access 2000 I used:

    Application.GetOption("Conditional Compilation Arguments")
    

    for getting,

    Application.SetOption("Conditional Compilation Arguments", "")
    

    for setting.

    That's all.

提交回复
热议问题