Windows Automation And Macro Recorder Retrieve A Specific Cell Value From A Data Table - Presentation Transcript
Retrieve a specific cell’s value from a DataTable http://winautomation.com/kb/retrieve-specific-cell%E2%80%99s-value-d...
Home Features Download Purchase Support Company
Retrieve a specific cell’s value from a DataTable
Latest Knowledge Base Articles
cell value column name Data table Excel Hints and Tips
Manage the delays between
If you use WinAutomation to manipulate Excel files, you most likely came across the concept of keystrokes
Data Tables. Whenever you are reading a range of cells from an Excel file, the information that
How do I import the jobs that I
you acquire is stored in a variable that has a type of "Data Table". Sometimes, you may want created in WinAutomation v2?
to retrieve a specific cell's value. The easiest way to do that, is to use the "Read from Excel"
Represent the <Blank> and
action, and store a cell's content into a variable. But what happens if you need to use the
<Space> in an expression
values of 50 different cells from the Excel file? Do you have to create 50 different "Read From
Excel" actions? Of course not. In such a case, all you have to do is read a range of cells and How To - Automate Status
Updating on Twitter
then use them in your job through the special notation that accompanies data tables.
How To - Implement Autologin
In order to retrieve a specific item of a data table, you will have to use the following notation:
How To - Delete the first row
%VariableName[RowNumber][ColumnNumber]%. Keep in mind that “RowNumber” and from Text file
“ColumnNumber” should be 0 for the first item (row or column), 1 for the second and so on. For
Notify me via email when a
example, if you have a data table that is stored in the variable %ExcelData%, scheduled job generates an error
Speed up the image recognition
process
Run Executable from Network
Share
Send Keys - Use Modifiers
How to use variables in file paths
Monitor Network Folders
View All Articles
you can retrieve the first item with: %ExcelData[0][0]% and the last item with
%ExcelData[ExcelData.RowsCount-1][ExcelData.Columns.Count-1]%
Also, if your data table has named columns, you can use the following notation to retrieve a
cell’s value:
%VariableName[RowNumber]["ColumnName"]%
Average:
No votes yet
1 of 2 6/21/2009 9:16 PM
0 comments
Post a comment