We are going to learn the difference between THISWORKBOOK and ACTIVEWORKBOOK in VBA. This is very important concept in VBA macro #Thisworkbook, #Activebook
It's important to the know the difference between the ActiveWorkbook and ThisWorkbook in VBA:
The difference between "ThisWorkbook" and "ActiveWorkbook" refers to the workbook that is currently in the active window, whereas "ThisWorkbooK" refers to the workbook where the code is actually running from. ThisWorkbook will never change.
What is ThisWorkbook in VBA?
What does ActiveWorkbook mean in VBA?
How do I activate ThisWorkbook in VBA?
How do I set up ThisWorkbook in VBA?
How do I activate current workbook?
How do you call an active sheet in VBA?
How do I switch between Workbooks in VBA?
#vba
#excel
#vbamacro
Ещё видео!