Miguel A. Vilariño wrote:
I need to embed an excel worksheet in a dialog. ¿How do I obtain the header file for the excel.exe library? Do I need the idl? can I generate an .idl from the excel.exe binary?
Try to get the Interface of the Excel application and use the methods of that.. import the .exe or .tlh like
#import "D:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" raw_interfaces_only, raw_native_types, no_namespace, named_guids
I haven't tried this but i think it should work. Knock out 't' from can't, You can if you think you can :cool: