wammer, you could also reference the worksheet name in VBA and not the
worksheet tab name, here if you change the tab name of sheet 2 the first
Macro will not work the second one will
Sheet tab name
Sheets("sheet2").Range("A3") = "25"
VBA sheet name
Sheet2.Range("A3") = "25"
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 97
** remove news from my email address to reply by email **