Hi,
I have created a macro and code to open an excel file. However, my system at work is running both excel 2003 and 2007. I want the file to open in excel 2007 however it keeps opening in 2003 and then converting it.
I am running access 2007. The code is below:
Public Function Workbook_Open()
Dim appExcel As Object
Set appExcel = CreateObject("Excel.Application")
appExcel.workbooks.Open "T:\IT Dept\Teacher Resources\Records\Year 9\Unit 1 records 07 entry MAIN.xlsx"
appExcel.Visible = True
End Function
Any solutions, thanks,
spqr