Hi
This is the code currently im using to export a table to excel spreadsheet, but the issue is when i run the above code it exports all the fileds in access table.Code:DoCmd.TransferSpreadsheet acExport, 10, "Table1", curPath, -1
Table 1 has 5 fields (UID,Uname,Uaddress,Uemail,Time)
What i need is only 4 fields to imported to excel (UID,Uname,Uaddress,Uemail). Does anyone know how to this part?
Appreciate your help