D
Dennis
In Access 2003, I have a need to programmatically set a reference to the
Excel Object Library. This reference actually points to "EXCEL.EXE". Because
of that, I need to change the reference when the Access application starts
up, depending upon which version of Office is installed. (As you all know,
the file path for the various components that make up Office change with each
release.) Basically I want to write some VBA code that determines what
version of Office is in use, then sets the program reference depending on
that value.
Any thoughts on how I could do this, or an alternative methodology
altogether, would sure be appreciated!
Excel Object Library. This reference actually points to "EXCEL.EXE". Because
of that, I need to change the reference when the Access application starts
up, depending upon which version of Office is installed. (As you all know,
the file path for the various components that make up Office change with each
release.) Basically I want to write some VBA code that determines what
version of Office is in use, then sets the program reference depending on
that value.
Any thoughts on how I could do this, or an alternative methodology
altogether, would sure be appreciated!