So I got moved to Windows 10 with VBA references now pointing to Office 16. My end-users are generally still on Windows 7, needing Office 15 references (my coding requires Excel 15 or 16, Word 15 or 16, Outlook, etc.) So when I pass them the ACCDB (not using ACCDE by the way), they get reference errors.
Anyone have some coding I can steal to check which version of office is in play and change the references when first starting up?
P.S. I'd use ACCDE but I've discovered for some reason that cross-tab queries that you run in VBA tend to break in ACCDE. It's a weird bug but I haven't spent long trying to de-bug.
Thanks!
Anyone have some coding I can steal to check which version of office is in play and change the references when first starting up?
P.S. I'd use ACCDE but I've discovered for some reason that cross-tab queries that you run in VBA tend to break in ACCDE. It's a weird bug but I haven't spent long trying to de-bug.
Thanks!