Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Display a Custom Dialog Box

I have a button on a worksheet created from the Forms toolbar. I'd like to
display a dialog box if this button is clicked but am having trouble showing
the dialog box from a subroutine in a module. Can anyone point me in the
right direction?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Display a Custom Dialog Box

Do you mean a custom userform? If so, just

Userform1.Show

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"BHatMJ" wrote in message
...
I have a button on a worksheet created from the Forms toolbar. I'd like to
display a dialog box if this button is clicked but am having trouble
showing
the dialog box from a subroutine in a module. Can anyone point me in the
right direction?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Display a Custom Dialog Box

Yes, it's a custom userform. I changed the name of the form to "dlgHelp".
Using the command dlgHelp.Show did not work. However, I re-created the form
and did not rename it and, surprisingly, Userform1.Show works. Thanks for
the help.


"Bob Phillips" wrote:

Do you mean a custom userform? If so, just

Userform1.Show

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"BHatMJ" wrote in message
...
I have a button on a worksheet created from the Forms toolbar. I'd like to
display a dialog box if this button is clicked but am having trouble
showing
the dialog box from a subroutine in a module. Can anyone point me in the
right direction?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Display a Custom Dialog Box

If you rename it now, does it still work?

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"BHatMJ" wrote in message
...
Yes, it's a custom userform. I changed the name of the form to "dlgHelp".
Using the command dlgHelp.Show did not work. However, I re-created the
form
and did not rename it and, surprisingly, Userform1.Show works. Thanks for
the help.


"Bob Phillips" wrote:

Do you mean a custom userform? If so, just

Userform1.Show

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"BHatMJ" wrote in message
...
I have a button on a worksheet created from the Forms toolbar. I'd like
to
display a dialog box if this button is clicked but am having trouble
showing
the dialog box from a subroutine in a module. Can anyone point me in
the
right direction?






Reply
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
Help with custom save as dialog box. control freak Excel Discussion (Misc queries) 0 July 21st 06 03:23 PM
custom views dialog box Wessel New Users to Excel 2 March 16th 06 05:03 PM
Excel custom function dialog [email protected] Excel Worksheet Functions 0 February 16th 06 01:08 AM
Custom View Dialog Box GLT Excel Discussion (Misc queries) 0 November 13th 05 03:20 PM
editing custom dialog boxes Shadowrift Excel Worksheet Functions 5 August 19th 05 07:48 PM


All times are GMT +1. The time now is 11:45 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"