H
Henrik
Hello,
I have been trying to use the VBE property on the Excel object in order to
try to use and modify VBA-projects in excel files. For example to remove
missing references. I know I can do this through VBA-code in for example a
template or add-in. But I would like to do it straight from automation
through an instance of an Excel-object.
Excel exposes the VBE property on the Application object, but whenever you
try to use it, Excel only says it hasn't been loaded into the runtime, or
something similar. And I don't get what I'm doint wrong. The Excel-online
help doesn't say that this property should be unavailable for automation, and
if so, why should then Microsoft expose it at all if it never gets loaded?
Any help is very much appreaciated. I'm stuck on this one...
I have been trying to use the VBE property on the Excel object in order to
try to use and modify VBA-projects in excel files. For example to remove
missing references. I know I can do this through VBA-code in for example a
template or add-in. But I would like to do it straight from automation
through an instance of an Excel-object.
Excel exposes the VBE property on the Application object, but whenever you
try to use it, Excel only says it hasn't been loaded into the runtime, or
something similar. And I don't get what I'm doint wrong. The Excel-online
help doesn't say that this property should be unavailable for automation, and
if so, why should then Microsoft expose it at all if it never gets loaded?
Any help is very much appreaciated. I'm stuck on this one...