MarketplaceStudioActivityFile Converter for Microsoft Excel, Word

Create your first automation in just a few minutes.Try Studio Web

File Converter for Microsoft Excel, Word

File Converter for Microsoft Excel, Word

by Internal Labs

4

Activity

Downloads

41.6k

back button
back button
carouselImage0
next button
next button

Summary

Summary

This custom activity converts Excel and Word files using the COM Interop library.

Overview

Overview

An activities pack that converts files between various formats.

It receives as parameters the file path of the original file, the path of the folder where the new file should be created and the name of the new converted file.

Currently, the package contains the following activities:

  • Convert DOC to DOCX
  • Convert DOCX to DOC
  • Convert Word to PDF
  • Convert XLS to XLSX
  • Convert XLSX to XLS

Input

  • FilePath(string) - path of the file that we're going to convert.
  • Directory To Save In(string) - path of the folder where we're going to save the new file.
  • New File Name(string) - the name of the newly created file.

Output

  • Resulting FilePath (string) - file path of the newly created file.

How To Use

Example - Convert XLS to XLSX:

First, we input the full file path for the .xls file, we specify the destination folder and the name of the new file.

Then, we proceed to read and process the file as normal.

The resulting file will be "C:\UiPath\ResultXLSX.xslx".

Observation and limitations:

  • Because of the usage of COM Interop, it means that this activity requires that the Office application is installed to successfully convert the file.
  • It is possible that converting XLS and/or Word files will not work for extremely large files.

Features

Features

By converting the files to a different format we can reduce their size making them easier to store/send as attachments/process (XLS => XLSX; DOC =>DOCX).

We increase the number of options we have for processing the file (XLS => XLSX; DOC =>DOCX - we can process them by reading the xml files inside the resulting docx;xlsx files).

We make them readable without having to have Office (WORD => PDF).

We can make them readable as plain text (XLSX => XLS; DOCX => DOC).

Additional Information

Additional Information

Dependencies

https://gallery.uipath.com/packages/Microsoft.Office.Interop.Excel/ Microsoft.Office.Interop.Excel (>= 15.0.4795.1000) https://gallery.uipath.com/packages/Microsoft.Office.Interop.Word/ Microsoft.Office.Interop.Word (>= 15.0.4797.1003)

Code Language

C#, Visual Basic

Runtime

Windows Legacy (.Net Framework 4.6.1)

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

0.0.6780.30254

Updated

June 3, 2023

Works with

Studio: 21.10 - 22.10

Certification

Silver Certified

Application

Microsoft ExcelMicrosoft Word

Support

UiPath Community Support

Similar Listings