4th step: Now I will do a vlookup on cell F2 across the worksheet 'Data' and cell G2 across the worksheet 'Data' also.
5th step: Next is the macro that does an auto fill from cell F2 to the last row and cell G2 to the last row and removes the vlookup formulas.
6th step: Next is a recorded macro that does an advance sorting. Data range has a header row. Primary sort by SEC ID (Column F- Descending), secondary sort by CODE_A (Column C- Ascending), Tertiary sort by SECURITY_A (Column A- Ascending).
6th step: Next is a macro that removes all duplicates by looking at Column A.
7th step: Finally the last macro is to find and replace numbers with text in Column C.
As for the SR file. The same steps applies in the ‘SR’ worksheet only that the new columns added in will be in columns G and column H instead of Column F and G.
I will be most appreciative if anyone can show me how to combine step 3 to step 7 first.
Once I’ve seen a sample I will try to slowly combine the ‘SR’ worksheet together so there will be 4 individual macros which is
1) Macro that rename and create new tab
2) Macro that highlights the Log worksheet
3) Macro that runs the SE worksheet
4) Macro that runs the SR worksheet
After that I will try to narrow down to just creating just 2 macros.
1) Macro that rename and create new tab
2) Macro that highlights the Log worksheet runs the SE worksheet and runs the SR worksheet.
Meanwhile, I'll try using the codes by davesexcel to combine these codes. I hope someone out there is helping me out at the same time too. Thanks in advance!
Bookmarks