Good afternoon to all
I am stuck now for a whole day on creating a macro. I am actually quite a novice regarding VBA and so would really appreciate somebody to give me a hand with this.
In the attached file, I have three columns, with the third showing discrepancies between the two firsts. Column A and C contain the same values + differences that I must highlight.
What I am looking to do is that if value in E2 is negative, then copy/paste A2 in I2 and once pasted, delete cell A2 (moving cells up).
However, if E2 is positive, then copy/paste C2 in J2 and once pasted, delete cell C2 (moving cells up).
Then only make sure difference formula in E column is correct by copying from original cell E1 (should be done like this I think):
Range("E1").Select
Selection.AutoFill Destination:=Columns("E:E")
Columns("E:E").Select
Then only do the same for the next lines.
This should result in having columns A and C completely equals and the different cells shown on the side.
I hope my explanations are clear enough for you to understand, and I really thank in advance whoever will be able to help me with this.
Cheers !
Bookmarks