Activity Use Excel File (Excel Application Card) failed:

In UiPath tutorial Build Your First Automation when I run for opne csv and Excel file the message erros is showed:
Runtime execution error body { font-family: Segoe UI; margin: 0; border-top: 1px solid #d9d9d9; } img#warning { float: left; width: 28pt; } div#header { min-height: 80pt; max-height: 290pt; margin: 16pt; margin-top: 8pt; } p { margin: 0pt; } div.action_info { overflow: hidden; border-top: 1px solid #d9d9d9; width: 100%; position:absolute; bottom:0; background-color: #f5f5f5; } p.action_info { float: left; margin: 8pt; margin-left: 44pt; } .btn { cursor:pointer; display: inline-block; font-weight: 400; color: #242424; background-color: #e8e8e8; border-color: #c5c5c5; text-align: center; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid; padding: 2pt; line-height: 1.5; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; } .btn-primary { border-color: #0073ce; } .img-resize{ height: 75px; width: 210px; overflow: hidden; border: 1px solid #c5c5c5; } .img-resize img{ max-width: 100%; object-fit: cover; } #problem-element-image-container { align-items: center; display: flex; } #action_info_text{ overflow: hidden; position:absolute; bottom:44pt; left: 16pt; color: #707070; background-color: #FFF; } #buttons_master_container{ width: 80%; float:right; margin: 8pt; margin-right: 12pt; } div.ImageClear{ clear:both; } #appImagesContainer{ display: flex; } div#buttons_container { clear: both; } #buttons_container input { float: right; margin-left: 8pt; padding-left: 5px; padding-right: 5px; } div#arrow-container { width: 48px; } { position: relative; } img{ position: absolute; top: 0; bottom: 0; margin: auto; left: 0; right: 0; } .modal-image { border-radius: 5px; cursor: pointer; transition: 0.3s; } .modal-image:hover {opacity: 0.7;} .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.9); } .modal-content { margin: auto; display: block; max-width: 700px; } #caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; height: 150px; } .modal-content, #caption { animation-name: zoom; animation-duration: 0.6s; } @keyframes zoom { from {transform:scale(0)} to {transform:scale(1)} } .close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; } .close:hover, .close:focus { color: #bbb; text-decoration: none; cursor: pointer; } @media only screen and (max-width: 700px){ .modal-content { width: 100%; } } #SkipIterationContainer { /* display: none; / display: none; } #ExcelCardDetailsContainer { / display: none; / [EXCEL_CONTAINER_VIS_PLACEHOLDER] } #OutlookCardDetailsContainer { / display: none; / display: none; } #ApplicationCardOnlyDetailsContainer { / display: none; / display: none; } #ApplicationCardWithElementDetailsContainer { / display: none; / display: none; } #ErrorPathContainer { / display: none; */ [ERRORPATH_CONTAINER_VIS_PLACEHOLDER] } .scrollable { overflow-y: auto; } .unscrollable { overflow: hidden; } #problem-desc { white-space: pre; }

Something went wrong with Excel .
Activity Use Excel File ( Excel Application Card ) failed:

Error opening workbook. Make sure Excel is installed. Unable to cast COM object of type ‘Microsoft.Office.Interop.Excel.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.Excel._Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{000208D5-0000-0000-C000-000000000046}’ failed due to the following error: Interface não registrada (Exception from HRESULT: 0x80040155).


Welcome to forums

Can you share more with some screens?


Hello, which studiox version are you using? In latest comunity version you have a tool to repair the excel install. Is under Tools tab. Let me know how it goes so we can further help you!

1 Like

Just to provide more context - this look like a Excel installation issue. In the latest 20.10 Community versions we have included an Office Interop repair Tool (under Home > Tools) which will attempt to repair the faulty Excel configuration. Please give it a try:

Hello, i am facing the same issue
Have you solved your problem ?