Hi,
I have created some code in MS Access 2010 for sending out Emails and formatting Excel Spreadsheets.
Problem is it works fine in 2010, but if a user uses the database in Access 2007 They get an error because the Microsoft Excel and Microsoft Outlook Object library 14 is missing. I know i can assign Object Library 12 and it works.
But is there any code which automatically changes to Object 12 or identifies which version of excel/outlook is installed and assigns the correct Object Library.
Thanks
I have created some code in MS Access 2010 for sending out Emails and formatting Excel Spreadsheets.
Problem is it works fine in 2010, but if a user uses the database in Access 2007 They get an error because the Microsoft Excel and Microsoft Outlook Object library 14 is missing. I know i can assign Object Library 12 and it works.
But is there any code which automatically changes to Object 12 or identifies which version of excel/outlook is installed and assigns the correct Object Library.
Thanks