Hello all,
I have more than 50,000 lines of data which I have formatted to show errors by highlighting the row in yellow. Approximately 15% of the lines are yellow (have the error "#N/A"). I don't want to correct the #N/A problem. It is there because of the format of the input data and is the key that I use to identify the problem with the input. I can manually resolve this issue by copying the essential data from cell E(?) in the effected row into cell A(?+1) and delete row (?). This task is..... daunting at best. After correcting this data I will import the next 50,000 lines and perform the process again. I have done it manually twice already.
The question is, how do I write a macro to do this automatically? I have VERY little experience with macros. I have written (with help from internet searches) 2 small macros for other issues with this same data, so I know how to use the VB editor, barely. I believe that it will involve xxxxxx.value, and copy and paste functions, but I have no idea how to write the code.
It also may be important to know that the effected fields are text strings. If it is possible, I want to trim the data (no beginning or ending spaces) and change the remaining spaces between words to ">".
I am not able at this time to upload a sample, so I hope I described the situation well enough. Let me know if further clarification is needed.
Thank you.
Bookmarks