I have imported a .txt file to excel but I want to turn the text into columns. Using the Excel interface I would do that like this: Data->Text to Columns etc. Any ideas on how to do that using visual basic commands? Thank you in advance.
Code:Imports System.Diagnostics Module Module1 Sub Main() Dim p As New Process() p.StartInfo = New ProcessStartInfo("excel.exe", "C:\text.txt") p.Start() End Sub End Module


Reply With Quote
