I have used this loads of times before but not with a subform on a report. My code says:
where frmDetail is the subform on frm_Main (but not linked to frm_Main - i.e. for display only). So then I try:
In both cases I get 'form is misspelled or refers to a form that doesn't exist'. What am I doing wrong
Code:
DoCmd.OutputTo acOutputForm, "frmDetail", acFormatXLS, , True
where frmDetail is the subform on frm_Main (but not linked to frm_Main - i.e. for display only). So then I try:
Code:
DoCmd.OutputTo acOutputForm, "Form_frm_Main.frmDetail", acFormatXLS, , True
In both cases I get 'form is misspelled or refers to a form that doesn't exist'. What am I doing wrong
