>I am trying to use your ole excel code but I want to know what is in your "xlconstants.h" file.
>I think there are four constants in there but what are they set to.
>The four constant are xlgeneral, xltop, xlwhole, and xlbycolumns.
>
>Chet
#define xlGeneral 1
#define xlTop -4160
#define xlWhole 1
#define xlByColumns 2
#define xlByRows 1
The complete constants header file is somewhere in files section. However if you never could access it you could do this to get value :
- Open Excel (or any Office app)
- Alt+F11 then F2 (Brings up object browser)
- In second combo write constant and enter ie: xltop [enter]
You'll see the value displayed at bottom (as well as other info in listboxes).
Cetin