I have an EXCEL sheet that is generated by another program that reads a DB. There is a problem with it that sometimes will write a chunk of data in the wrong columns. I cannot get the program that produces it to get corrected so I need a work around. Basically here is what I need:
Data is written in column A, B and C row by row. However sometimes, data is written in columns D,E and F. What I want to do is create a macro that will test for spaces in column A line by line. If Column A is blank then select data in Column D, E and F and paste to Column A, B, and C. The problem is that it is not always the same rows everytime. There is probably some code already that I could modify if someone could point me in the right direction. Thanks in advance. One thing I know about this board, everything always gets solved.