0% found this document useful (0 votes)
14 views3 pages

Excel and PDF Automation Guide

The document outlines various Excel and PDF automation activities, including reading and writing cells, ranges, and text files. It details the use of dialog boxes for input, looping through rows, and extracting text from PDFs using OCR. Additionally, it provides guidance on handling multiple validations and processing large volumes of PDF files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

Excel and PDF Automation Guide

The document outlines various Excel and PDF automation activities, including reading and writing cells, ranges, and text files. It details the use of dialog boxes for input, looping through rows, and extracting text from PDFs using OCR. Additionally, it provides guidance on handling multiple validations and processing large volumes of PDF files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Excel Automation

Input dialog box: To open dialog box along with label to input data

Excel application scope:

Read cell: To read a single cell in excel

Write cell: To write in single cell (any data can be written in excel ..while
writing data in cell give double quotation mark)

Read range: To Read specific range in excel or whole excel can be read by
giving just “”. After this immediately use output data table(here input as data
table from excel and create new output variable). Use write line to display
excel.

For each row: when we want to read each row in table.

While writing in Body of for each loop either use Write Line/Message Box but
always convert it to string.
Assign:

Assign and update new values to variable

To Write data in excel-use

1)Excel application scope

2) Write cell

To enter data in particular text box/field

Type into

PDF Activities
Read PDF Text- Rad all characters from specific pdf and stores in a string

Write text File- It will create new text file and you can write pdf data into it.

To Split PDF data into line by line and create array use
pdftxtnew.Split (Environment.NewLine.ToArray,StringSplitOptions.RemoveEmptyEntries)

To extract only specific data use split in message box after variable

arraytxt(11).Split(":".ToCharArray)(1)

Read PDF with OCR-Read all characters from specific pdf using OCR
technologies.

Get Text-Extract Text value from specified UI element

If there are multiple validations in one single PDF the choose Read PDF activity

If we are processing hundreds of PDF and if there is prone to failure or invalid


formats then choose Get Text
Start Process: To open an application

You might also like