Regarding Automation Objects

Hi All

i have MS Office 97 installed on my machine. i included Microsoft Excel 8.0 Object Library for creating the Excel objects. Could do it successfully.
now i want my friend to use the same codeunit. he has MS Office 2000 installed on his machine. and there came the error - for it couldnt find Excel 8.0 Object Library.
well, there is always the alternative to change the source of object on his machine to Excel 9.0 Object Library ; but i want to know if there is any way we can ensure that object library present on the machine will be picked up !!
i created a DLL, that satifies my requirement. How can it be Done in Navision Attain ?

Hope to Get all kinds of Alternatives Smile
Thank you