Steve Lizardi
asked on
I need to convert this file to a csv or excel sheet How would I do this?
I need to convert this file to a csv file or an excel file. This is a flat file that we created years ago for our medical program. Any help on getting these type of files into a csv would be great. I have included a screenshot of an example. what would be the best way to accomplish this?
consult.png
consult.png
A CSV requires a static format, and the data shown have variable amount of fields.
The second and third "record" have ">" instead of "<" as Name marker.
And there is additional text found - what should happen with that?
Lastly, is PowerShell an option?
The second and third "record" have ">" instead of "<" as Name marker.
And there is additional text found - what should happen with that?
Lastly, is PowerShell an option?
this seems to be a text file. Open Excel, Data tab -> Get External Data -> From text
Navigate to the file and click on import
Navigate to the file and click on import
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@nick67 I will take a look. sorry for the delay. I will try it on Monday. We are moving from one EHR to another and I need to be able to import files. Thanks guys for all your help.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
write VBA function to get the column names
Open in new window
Then add to query GetColumnName(Left$([Field
Then you can add new query for cross-tab