Hello
I would like to know how to get value and color of cells with Access ?
Thanks :-)
Hello
I would like to know how to get value and color of cells with Access ?
Thanks :-)
Do you mean from within Access?Originally Posted by bamoo
This might get you started
Set xlApp = CreateObject("Excel.Application") Set xlWB = xlApp.Workbooks.Open("C:\myData\myExcel.xls") Set xlWS = xlWB.Worksheets("Sheet1") With xlWS.Range("A1") MsgBox .value MsgBox .Interior.ColorIndex End With
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
Thanks. It's exactly what I wanted :-)