Nadav,
I'm not sure I totally understand your question as far as what you're talking about "move my project to another place i need select path to this library again". Usually as long as the ActiveX excel9.OLB is registered by the OS properly, even if you move your application, the refnum is still pointing to reference to this OLB path.
I guess if you still want to retrieve the path programatically, you could retrieve that path from the windows registry.There is usually a key that gives the path of the registered library in (e.g excel9.olb)HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{00020813-0000-0000-C000-000000000046}\1.3\0\win32
Regards,
Cyril Bouton
Applications Engineering
National Instruments.
Cyril Bouton
Active LabVIEW Developper