excel show userform on button click code example Example: Macro to open Userform Sub ShowUserForm() userform.show 'ShowUserForm End Sub