Hi All,
I’ve got a problem to make use of some functions I found in a reference book. I believe that the VBA code I found is current and up to date. I’ve posted me question to the author but it would be nice to see what you all think about this…
Please take a look at this extract from my mail;
At page 189 in Access 2007 VBA Bible there is some VBA code that would be handy for me (the function OpenSpecificWorkbook). I have tried to imply this to my Access project but encounter an error when executed. The problem origins from the line “Dim appExcel As Excel.Application”, and VB complains about a compiling error. VB states something like “Compiling error: Own-defined type has not been defined”. For more information you can look at the attached file (I’m sorry that the Access interface is in Swedish).
I believe this is due to some missing database, module, .dll-file or something like that. Do you know what is needed, where to get it and how to imply it?
Yours sincerely
Anders Eriksson
I’ve got a problem to make use of some functions I found in a reference book. I believe that the VBA code I found is current and up to date. I’ve posted me question to the author but it would be nice to see what you all think about this…
Please take a look at this extract from my mail;
At page 189 in Access 2007 VBA Bible there is some VBA code that would be handy for me (the function OpenSpecificWorkbook). I have tried to imply this to my Access project but encounter an error when executed. The problem origins from the line “Dim appExcel As Excel.Application”, and VB complains about a compiling error. VB states something like “Compiling error: Own-defined type has not been defined”. For more information you can look at the attached file (I’m sorry that the Access interface is in Swedish).
I believe this is due to some missing database, module, .dll-file or something like that. Do you know what is needed, where to get it and how to imply it?
Yours sincerely
Anders Eriksson