I'm trying to read an Excel worksheet and do a find/replace for all of the commas "," in any of the cells in the sheet and replace them with a dash "-" I can get as far as getting the workbook opened but I'm not sure where to go from here. Is there a simple method to accomplish this?
Below is the code I have so far:
Below is the code I have so far:
Code:
Dim exl As Microsoft.Office.Interop.Excel.Application Dim sht As Microsoft.Office.Interop.Excel.Worksheet exl = New Microsoft.Office.Interop.Excel.Application exl.Workbooks.Open("C:\...\WHOLESALEpl.xls") ' Actual path omitted
Comment