Hi Tom.
I already fixed the problem and should have posted that earlier...
Yes, the problem was in references - extensibility was not checked.
Strange, but I remember I did not add any references to this project in Excel XP. Is it possible it was there by default? And what about "Trust access to
VB Project" from Security tab in Excel? I know for sure I didn't specifically set it to true when I was writing the code. And everything worked fine... But now I had to do both: add a reference and manually check the box to Trust access to VBP.
Anyway, it's OK now, everything's working fine and I learned my lesson - if it works on one system, be prepared to debug it on another...
Thanks for reply.
Maria.
There's always an answer. Your task is to find it.