Valdir Posted January 30, 2017 Report Share Posted January 30, 2017 Boas... Por favor, alguém sabe se existe uma função ou exemplo que identifique se o MS Word ou MS Excel estão instalados na CPU ? Obrigado. Quote Link to comment Share on other sites More sharing options...
gilmer Posted January 30, 2017 Report Share Posted January 30, 2017 vc esta querendo criar o objeto usando createobject ? Quote Link to comment Share on other sites More sharing options...
Wellington Vieira Posted January 30, 2017 Report Share Posted January 30, 2017 Veja se ajuda.. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted January 30, 2017 Report Share Posted January 30, 2017 TRY oExcel := GetActiveObject( "Excel.Application" ) CATCH TRY oExcel := CreateObject( "Excel.Application" ) CATCH MsgInfo( "Excel no disponible. [" + Ole2TxtError() + "]" ) RETURN .F. END END Quote Link to comment Share on other sites More sharing options...
Valdir Posted February 1, 2017 Author Report Share Posted February 1, 2017 Amigos... Obrigado pelas respostas. Resolveu tanto no exemplo do Systemup, quanto no do Kapiaba. Valeu. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.