I have got the below code that checks Excel Version, and now I want to select Microsoft Object Library 16.0 or 14.0 or 15.0 based on version.
Can you please guide how