Home Posts tagged "excel"
formats

Universal class for data manipulations (Russian)

Sergey Talalaev (SQAdotBY) has contributed this wonderful article on using a generic class for all your Excel data-operations needs. Thanks SQAdotBY, for you hard work, and willingness to share it with the QTP community!
This is the Russian translation of the article

 
Tags: , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Universal class for data manipulations

Sergey Talalaev (SQAdotBY) has contributed this wonderful article on using a generic class for all your Excel data-operations needs. Thanks SQAdotBY, for you hard work, and willingness to share it with the QTP community!

 
Tags: , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Quickly import excel to Quicktest (Russian Translation)

Published on 30/03/2009 by in Articles, Olga Ivolgin

Olga Ivolgin gives us a wonderfully useful QTip – quickly import an excel datasheet with the column names!
This is the Russian Translation.

 
Tags:
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Quickly import excel to Quicktest

Published on 30/03/2009 by in Articles, Olga Ivolgin

Olga Ivolgin gives us a wonderfully useful QTip – quickly import an excel datasheet with the column names!

 
Tags:
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Read Excel Range into an Array

Usually, we only want to read some data from an Excel worksheet, and we’ll be more than happy to get that data in a simple 2-dimensional array. Later we can loop through the array, and access the data in a quick and easy fashion. Here’s a function which receives an Excel file, the workbook name

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Add Data to a Spreadsheet Cell

Demonstration script that adds the words “Test Value” to cell 1,1 in a new spreadsheet. Set excel = CreateObject( “Excel.Application” ) excel.Visible = True excel.Workbooks.Add excel.Cells( 1, 1 ).Value = “Test value”

 
Tags: ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Add Formatted Data to a Spreadsheet

Demonstration script that adds the words “test value” to a new spreadsheet, then formats the cell containing the value. Set excel = CreateObject( “Excel.Application” ) With excel .Visible = True .Workbooks.Add .Cells( 1, 1 ).Value = “Test value” .Cells( 1, 1 ).Font.Bold = True .Cells(1, 1).Font.Size = 24 .Cells(1, 1).Font.ColorIndex = 3 End With

 
Tags: ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Format a Range of Cells

Published on 01/04/2008 by in Dani Vainstein, MS-Excel

Demonstration script that adds data to four different cells in a spreadsheet, then uses the Range object to format multiple cells at the same time. Set excel = CreateObject( “Excel.Application” ) With excel .Visible = True .Workbooks.Add .Cells( 1, 1 ).Value = “Name” .Cells( 1, 1 ).Font.Bold = True .Cells( 1, 1 ).Interior.ColorIndex = 30

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

List Excel Color Values

Demonstration script that displays the various colors — and their related color index — available when programmatically controlling Microsoft Excel Set excel = CreateObject( “Excel.Application” ) With excel .Visible = True .Workbooks.Add For i = 1 to 56 .Cells( i, 1 ).Value = i .Cells( i, 1 ).Interior.ColorIndex = i Next End With

 
Tags: ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

List Service Data in a Spreadsheet

Demonstration script that displays the various colors — and their related color index — available when programmatically controlling Microsoft Excel Set excel = CreateObject( “Excel.Application” ) With excel .Visible = True .Workbooks.Add End With x = 1 Set wmiService = GetObject( “winmgmts:root\cimv2″ ) Set colServices = wmiService.ExecQuery( “Select * From Win32_Service” ) For Each service

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments