Trouble replacing Chr(160) with VBA in excel
问题 I have been receiving excel files for awhile that are usually plagued with the special character alt+0160 after the accounts. I usually just manually replace it in excel but recently I've grown lazy and want to replace it using my VBA script. This script is used to insert the needed columns into our database: Sub insert() Dim sSql As String Dim db As New ADODB.Connection 'Go to Tools, References and turn on ActiveX Data Objects 2.8 Library db.Open "DSN=XXXX;uid=XXXX;pwd=XXXX" 'INSERT ORACLE