I’ve tried various methods, like SendKeys and activating the workbook
windows, etc. but nothing seems to work. The Print Preview window
seems to be some kind of modal dialog. I’m thinking if I can get the
hwnd of the dialog then I can use the API to close it. But I don’t
know how to get the hwnd. Does anyone know what the Window Style and
caption of the Print preview window is? I could then use FindWindow.
Thanks,
Adam Ralph