Is there any difference between Thisworkbook and ActiveWorkbook.
Example code :
Sub workbook_name()
MsgBox Thisworkbook.name
End Sub
Sub active_name()
MsgBox Activeworkbook.name
End Sub
Both will return the same output,
Is there any other instances where we have to use particularly ThisWorkbook where ActiveWorkbook doesn't work