Hi all,
I found this code on the web:
Excel loads fine with that spreadsheet but...
I don't know how to Hide the window, UnHide the window or close the window.
Any help would be appreciated!
Thanks
I found this code on the web:
Code:
DECLARE INTEGER FindWindow IN user32;
STRING lpClassName, STRING lpWindowName
= WinExec("C:\Program Files\Microsoft Office\Office12\EXCEL.EXE b:\lora.xls", 1)
* find its hwnd
nHwnd = FindWindow(NULL, "Microsoft Excel")
Excel loads fine with that spreadsheet but...
I don't know how to Hide the window, UnHide the window or close the window.
Any help would be appreciated!
Thanks