Hi
I am using Access 2007. How can I display to a user in a message box how many rows were imported when they click an import command button from a form?
This is my code to produce the import and the message I am currently displaying:
Thanks
I am using Access 2007. How can I display to a user in a message box how many rows were imported when they click an import command button from a form?
This is my code to produce the import and the message I am currently displaying:
Code:
Private Sub ImportLatestSaleData_Click()
DoCmd.TransferSpreadsheet acImport, , "ThisSale", "S:\Accounts\Jim\Fleet\Disposals\BCA\ThisSale.xls", True
MsgBox ("Update of Latest Sales Data Complete")
End Sub
Thanks
Comment