LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default UserForm with ListBox

?B?SkxHV2hpeg==?= wrote in
:

The first thing is that you do not need to use modal afte the
UserForm.Show command. Modal is the default. If you do want to use
it then the correct syntax is
vbModal which is a boolean value or 1.

I don't see why the code would continue to execute before you click
the button unless your listbox also has code attached with a click
event that unloads or hides the UserForm. So check your listbox code
for a click event code.

Again, you can just use Choisir.Show and it will be modal.

Thank you very much
I type "Choisir.Show" instead of "Choisir.Show Modal"
And the program work the way I wanted.
I was stock for several day on this simple stuff.
Thank you again.

Jean


 
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
Listbox in UserForm Dale Fye Excel Discussion (Misc queries) 0 October 11th 07 09:40 PM
on Listbox in Userform.... x taol Excel Programming 7 October 4th 06 11:29 AM
userform listbox cannot get listbox.value to transfer back to main sub [email protected] Excel Programming 1 May 17th 06 09:44 PM
UserForm with ListBox Otto Moehrbach[_6_] Excel Programming 4 December 5th 04 07:30 PM
UserForm ListBox Otto Moehrbach[_6_] Excel Programming 3 December 30th 03 06:22 PM


All times are GMT +1. The time now is 11:11 AM.

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"