firstdivision
MIS
Hi,
I have a function in Access that exports data to Excel using the Excel 9.0 Object library. Is there a way to test if a machine has a specific Office application installed? It would be nice to be able to disable the Export to Excel function if Excel does not exist!
Also, is there a way to programatically disable the reference to the object library if Excel does not exist?
Maybe I just answered my own question...will the Access app generate an error on startup if the correct Excel library is not there...can I then trap this error and add/remove the reference through code?
Thanks,
Andrew
I have a function in Access that exports data to Excel using the Excel 9.0 Object library. Is there a way to test if a machine has a specific Office application installed? It would be nice to be able to disable the Export to Excel function if Excel does not exist!
Also, is there a way to programatically disable the reference to the object library if Excel does not exist?
Maybe I just answered my own question...will the Access app generate an error on startup if the correct Excel library is not there...can I then trap this error and add/remove the reference through code?
Thanks,
Andrew