Lensmeister
Registered User.
- Local time
- Today, 12:53
- Joined
- Feb 18, 2009
- Messages
- 65
Hi all,
 
This is probably very basic and I am missing somthing really obvious.
 
I have a custom toolbar with a button on it that I want to open a userform from.
 
I have tried this macro
 
	
	
	
		
 
and the button on the custom button calls the macro with
 
	
	
	
		
 
Alas it does not work.
 
Can someone advise please
 
Thanks
 This is probably very basic and I am missing somthing really obvious.
I have a custom toolbar with a button on it that I want to open a userform from.
I have tried this macro
		Code:
	
	
	Sub Admin_Show()
frmAdmin.Show
End Suband the button on the custom button calls the macro with
		Code:
	
	
	With .Controls.Add(Type:=msoControlButton)
.Caption = "Open Admin Form"
.Style = msoButtonIcon
.FaceId = 191
.OnAction = "Admin_Show"
End WithAlas it does not work.
Can someone advise please
Thanks
 
	 
 
		 
 
		