Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
dear All,
Exporting data from acceess Excel-template and printout a selection Close NoSave First run is Ok Second run triggers error 1004 'Application-defined or object-defined error' What's wrong in this closing-code ???? 'Print and close excel (no save) Range("A1:K" & Trim(CStr(iRow))).Select Selection.PrintOut Copies:=1, Collate:=True xlApp.ActiveWorkbook.Close SaveChanges:=False xlApp.Quit Set xlApp = Nothing Thanks, Filip |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Closing workbooks w/o closing Excel | Excel Discussion (Misc queries) | |||
Closing VB triggers closing Excel | Excel Programming | |||
Problems closing a workbook with VBA | Excel Programming | |||
closing excel after closing a workbook | Excel Programming | |||
problems closing workbook | Excel Programming |