LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default right click menu, userform show

natanz wrote:

Sub ShowForm(FormName As UserForm)
FormName.Show
End Sub

but that doesn't work. Can anyone help?



The funny thing is that your userform1 doesn't inherit from UserForm
type and UserForm itself doesn't have Show method :)

Sub ShowForm(FormName As Object) should work.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Right click menu Mats.Bergstrand Excel Programming 0 December 17th 05 10:33 AM
Adding a menu item right click menu when clicking on a single. Andoni[_28_] Excel Programming 0 September 2nd 04 10:23 PM
Adding menu to the mouse right click pop-up menu Jack Excel Programming 1 February 12th 04 05:23 AM
pls help: short cut menu doesn't show when right click mouse Yong Wah Excel Programming 1 October 23rd 03 01:56 PM
short cut menu doesn't show when right click on mouse Yong Wah Excel Programming 2 October 21st 03 01:42 PM


All times are GMT +1. The time now is 04:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"