SQL Drill Excel Add-in

Making it easy to use SQL from Excel

 
Script to read values from a spreadsheet PDF Print E-mail
Tips - Scripts
Written by Administrator   
Sunday, 18 January 2009 19:40

Demonstration script that reads the values stored in a spreadsheet

This would be available when programmatically controlling Microsoft Excel

Supported Platforms

Windows Server 2003
Yes 
Windows XP
Yes
Windows 2000
Yes
Windows NT 4.0
Yes
Windows 98
Yes

 

{geshibot lang="vba"}Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True
objExcel.Workbooks.Add
For i = 1 to 56
objExcel.Cells(i, 1).Value = i
objExcel.Cells(i, 1).Interior.ColorIndex = i
Next
{/geshibot}
Last Updated ( Monday, 19 January 2009 18:30 )