lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi I am following this video
https://www.youtube.com/watch?v=K0VqyXLJBOw&index=8&list=PLw8O1w0Hv2ztGjIkrW7suD6oNDaOk3vbR
and he used "ThisWorkbook" but whenever I use "ThisWorkbook" I gets compile error but if I used ActiveWorkbook instead I wont get any error message. What is wrong? Why the author can use "thisWorkbook" but I can not?
Thanks
https://www.youtube.com/watch?v=K0VqyXLJBOw&index=8&list=PLw8O1w0Hv2ztGjIkrW7suD6oNDaOk3vbR
and he used "ThisWorkbook" but whenever I use "ThisWorkbook" I gets compile error but if I used ActiveWorkbook instead I wont get any error message. What is wrong? Why the author can use "thisWorkbook" but I can not?
Thanks