msacess vba open a report code example Example: vba open report DoCmd.OpenReport "rptYourName", acViewReport