05-08-22 08:06 PM
05-08-22 10:25 PM
UPDATE [Sheet1$]
SET valueField1 = REPLACE(valueField1,'*','')
06-08-22 07:23 AM
07-08-22 08:53 AM
"Provider=Microsoft.ACE.OLEDB.12.0;Data Source="&[ExcelFile]&";Extended Properties='Excel 12.0 Xml;HDR=YES';"
"UPDATE [Hoja1$] SET Field2 = Replace(Field2, '*','YYYY')"
07-08-22 09:12 AM
07-08-22 09:16 AM
"UPDATE [Hoja1$] SET
Field1 = Replace(Field1, '*','')
, Field2 = Replace(Field2, '*','')
, Field3 = Replace(Field3, '*','')"
07-08-22 09:21 AM
07-08-22 09:36 AM
07-08-22 09:43 AM
07-08-22 09:57 AM
"SELECT TOP 1 * FROM [Hoja1$]"2.- Then use the VBO "Utility - Collection Manipulation" and the action "Get Collection Fields" to get a collection with all the fields that you have in your sheet.
[SQL Statement Fields] & ", " & [Collection Fields.Field Name] & " = REPLACE(" & [Collection Fields.Field Name] & ",'*','')"
"UPDATE [Hoja1$] SET " & Replace(","&[SQL Statement Fields];",,";"")