Hello Everyone
I get error on following line;Please Login or Register to view this content.
Kindly helpPlease Login or Register to view this content.
Hello Everyone
I get error on following line;Please Login or Register to view this content.
Kindly helpPlease Login or Register to view this content.
Last edited by caabdul; 01-29-2018 at 01:28 PM.
Hi,
That means that the Data sheet is not in the workbook containing the code. Perhaps you meant ActiveWorkbook rather than ThisWorkbook?
Don
Please remember to mark your thread 'Solved' when appropriate.
Hi Xlnitwit. Thanks for reply
I don't get this error onso Data sheet is there in the file. I have been using ThisWorkbook previously and it worked in same manner but here it is giving error.Please Login or Register to view this content.
Is the data sheet in the same workbook as the code?
changing thisworkbokk to activeworkbook worked. Thanks
If you can please explain the reason of this error, it would be great.
Last edited by caabdul; 01-29-2018 at 01:29 PM.
Thisworkbook refers to the workbook with the code in it, whether it is active or not.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks