35 pts.
 CSV data into Excel 2007
Here's the issue. I have a .csv file that I want to import into Excel. This .csv came originally from Access. It has things like access database color values in it. I want to be able to do the following: 1. Change each "chr" value into it represented ascii equivalent. Example: chr(58) is a ":". There has to be some way to automate this process via macro or otherwise. 2. Change each cell/row/column that has the access color value into its corresponding color. Example: Color value "13619151" changes the cell to the corresponding access color. Is there anyway that excel can see this particular translation? So far I haven't been able to find a program that can do this for me, nor could I get any tips as to automate the process via Macro or whatever. Any suggestions? Thanks!

Software/Hardware used:
ASKED: April 2, 2008  3:14 PM
UPDATED: April 3, 2008  1:42 PM

Answer Wiki:
Yes there is a way withing excel itself, if your up on your visual basic code you can enter the editor via the menu or i believe its F11 from here you can take the contents of a cell, break it up and change values in to the chr value. One easy way is to record a short macro, do a few operations i.e move the selected cell a few times. stop the macro and enter the vb editor mode. even if your not up on vb you should be able to see the code for moving the selected cell. As its all vb to get the value of the selectedcell you would use the .text so it would look something like mytextvariable = selectedcell.text From there you could pick at 1 character at a time or whatever you like Hope this helps you, although without knowledge of vb you might find it a little tough but a great learning experience
Last Wiki Answer Submitted:  April 3, 2008  7:27 am  by  Yeti   120 pts.
All Answer Wiki Contributors:  Yeti   120 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Thanks, I’ll give it a try. I’m open to anything else. This is a project so learning experience is a plus.

 35 pts.