Hello all,
I would like to create a command button on a form that will allow the user to export the current record to .xls.
The following exports the entire table. Is there a way to export the current record being viewed only?
Many thanks,
Tim
I would like to create a command button on a form that will allow the user to export the current record to .xls.
The following exports the entire table. Is there a way to export the current record being viewed only?
Code:
DoCmd.OutputTo acOutputForm, "frmInputView", acFormatXLS, "filename.xls", False
Tim
Comment