Multipage will be the active control regardless of what controls on the multipage are active. You can try to setup a global variable that can track the current control. Set the Enter sub for each control to change the variable to the control.


Option Explicit
Dim Ctl As Control
 
Private Sub CommandButton1_Enter()
Set Ctl = UserForm1.CommandButton1
End Sub
 
Private Sub CommandButton2_Enter()
Set Ctl = UserForm1.CommandButton2
End Sub
 
Private Sub CommandButton5_Enter()
Set Ctl = UserForm1.CommandButton5
End Sub