Hi!
Hope all is going well.
I am trying to develop and/or obtain a macro that will import *.dat files into one excel workbook so I can play around with the data.
Data is decent size.
1. Currently I open the .dat file in Notepad, select all, copy within the opened Notepad.
2. I then paste "Use Text Import Wizard", "delimited" already selected, Next, select "comma", deselect "space", and then finish.
I tried to record a macro to do Step 2 but it just pastes all essentally. No comma selection.
The recorded macro came out like this:
Sub DataImport()
'
' DataImport Macro
'
'
Range("A1").Select
ActiveSheet.PasteSpecial Format:="Unicode Text", Link:=False, _
DisplayAsIcon:=False
End Sub
Shouldn't it have something to show it as delimited and the comma/space selection?
Thank you in advance
Bookmarks