11 replies
by daveevans28 Accepted solution
by Member 25348569 Accepted solution
by daveevans28 Accepted solution
by tony hopkinson Accepted solution
Change the headings to be separated by commas, is minor one.
The big issue is entry per drive vertically, thing was never designed to be imported as csv, I'd chcek the app to see if it has an other log file format, by the time you've edited it to make it fit in a worksheet you could have cut and pasted it in cell by cell.
by seanferd Accepted solution
just use a text editor for which you can create a find & replace scheme to comma-separate the values.
If you need this "horizontally", you need to do further macro creation to automate this. Is it worth it? Is this something you do all the time? Then invest in creating the macro. Notepad++ might be a good choice. For Mac, I'd look at TextWrangler. For Unix(-like) OS, emacs, vim, etc., may do what you need.
by daveevans28 Accepted solution
by billmlod Accepted solution
by tony hopkinson Accepted solution
Do you know what information you want to analyse.
Using VBA or even Find and cherry picking from the txt file into a csv might make it do able.
ie if you wanted drive size
and each drive entry was
Drive XXXX
...
...
Size 500 GB
Rip through the text file.
Other possibilities would be the ODBC text driver or Access.
by daveevans28 Accepted solution
I'm playing around with excel right now - if I 'copy' and 'paste special' with 'transpose' I can get it to paste horizonatlly into cells. However we wipe 2 dozen or so drives a day.
I like the idea of macros, which I havent worked with yet, and will look into the other methods suggested by Tony. I alsoo need to make it easy for my co-workers or my successor if I decide to leave :)
If saved as a .txt when opened it does ask for the delimiter anyway, which is a colon in this case (which screws up the time entry).
I need to keep as much of the info as possible for auditing purposes.
Thanks everyone - onward I go. PS I work as a bored to tears computer tech for an e-recycling company in the states.
by seanferd Accepted solution
is that all you have to do in the future is open the file, then run the macro. Once the text is re-arranged properly, then you can paste it into Excel in one shot.
Notepad++ is one that will record the macro for you. (I.e., you don't have to write in some macro language.)
edit: And if you are doing that many drive which you need to keep track of, you may want to look into using a database (even Access :-& ) which might be a lot better than spreadsheets in the long run.
by daveevans28 Accepted solution
This discussion is closed to new replies.
Trending Software posts
Sort by Trending