Hi royUK
Using the macro recorder will indeed give you the code, however, it will give you the code using the sheets name. However, as the name may well change you would have to refer to them by number.
Nevertheless using the macro recorder is a great tip that many users forget is available as their experience grows - most of us actually start to learn from the macro recorder.![]()
DominicB
Bookmarks