[SOLVED] Replace the apostrophes while importing
Hello !
I have a table Technicians contains : Name | Code tr | Nb tr
I filled it by importing Excel files ; with the following code:
I want to use the Instr function to replace the apostrophes if they exist in names with a (blank) or some other letter!
The Technician Name field belongs to the C column!
Hello !
I have a table Technicians contains : Name | Code tr | Nb tr
I filled it by importing Excel files ; with the following code:
Code:
Private Sub cmdImportNoDelete_Click()
'Unset warnings
DoCmd.SetWarnings False
'Import spreadsheet
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12Xml, "Techniciens", selectFile, True
DoCmd.SetWarnings True
End Sub
The Technician Name field belongs to the C column!
Last edited: