You have this line of codebut you have not passed chkevent to the function, you pass it Eventtype.![]()
If chkevent = "Books" Then
If you put Option Explicit at the top of the module, you'd probably get a compile error as the variable is not defined.
Bookmarks