Hi AB33,
Thank you for your help, but I am not sure if it is local problem on my PC- while executing the code in Module1, I still get the same error and when I click "debug", it highlights code
And while executing the code in Module11, it gives name for first occurrence and says "ERROR12031-".
Would you please guide me here? Should I have enabled some more tools among vba references?
Please check the tool references I enabled in this image file- VBA references.jpg
Or am I missing something else here?
Bookmarks