I need a macro that can copy and paste and array that will change each time I run it. See attached. Basically, the macro will copy the acct column A8:Down and reference (column F7:Down) for amount and refence number (F1). However, the amt need to be greater than zero. It will then past into a new tab (Result) B1:D1 and put in "A" next to in A2. It will loop through the Data tab until it's done. Once it finishes looping through I need a msg box to enter the username. But the username when entered needs a # infront of it then what the user will enter. Lastly, I need to save it as an CSV file. See attached data and result for a better idea of what needs to occur.
The result tab will have A1 username then start the looping copy and paste macro in A2. The logic will be "A",a cct, amt, refernce number.
Thank you so much for your help!!!!
Bookmarks