If individual lines of code are already commented, then a good flowchart will give an overall picture. Even a handwitten drawing can summarise and simplify complex problems.
If you bring the data into excel you can use formulas to apply any rules you have for processing the data (ie remove all brackets in the address, if you want to ignore brackets). The following routine will delete any rows whose first two cells are duplicates. You will need to sort your data by...
An easier option would be to draw your command button as a control rather than a form button. When in design view then double-click the control button you have drawn. A new private sub is generated in the VB editor. Type the name of your macro at the cursor and compile.
A control button is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.