Hi there,
Take a look at the attached version of your workbook and see if it does what you need. It uses the following code in the VBA CodeModule of the "Swap" worksheet:
and the following code in the VBA CodeModule for "ThisWorkbook":
The highlighted values may be altered to suit your requirements.
These statements should be included for "normal" operation, and commented out for demonstration puropses.
These statements should be included for demonstration purposes, and commented out or deleted for "normal" operation.
I don't have access to your "Swap.xlsm" workbook, so I can't test the operation of your "Worksheet_Change" routine.
Hope this helps - please let me know how you get on.
Regards,
Greg M
Bookmarks