HI
i used above code to get the printer selection prompt. but when i click on cancel button on the prompt screen i get the below errorCode:DoCmd.SelectObject acReport, "MyReport" DoCmd.RunCommand acCmdPrint
"The Run Command Action Was Cancelled", how can i ignore the above error?