jeffmoseler
Well-known Member
- Joined
- Jul 16, 2004
- Messages
- 540
I have the following code in a Function in Excel:
Everytime someone opens it in Excel 2013 it updates the References from "Microsoft Outlook 14.0 Object Library" to "Microsoft Outlook 15.0 Object Library" . Then when I open it in Excel 2010 it errors out on the line above, highlighting the "Mid" function.
Is there a way to get the code to run regardless of the Object Library version?
Code:
thisVINCharacter = Mid(workingvinnumber, x, 1)
Everytime someone opens it in Excel 2013 it updates the References from "Microsoft Outlook 14.0 Object Library" to "Microsoft Outlook 15.0 Object Library" . Then when I open it in Excel 2010 it errors out on the line above, highlighting the "Mid" function.
Is there a way to get the code to run regardless of the Object Library version?