LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default combo box close on selection help!!

Hi All,

I have created a user form and populated it from a list my Workshee
sheetselection change code calls on the userform to pop up the dialo
box and the selection is made from a drop down list my only problem i
this at the moment, when selection is made from the dropdown list
want the userform/dialog box to close.....i do not want to add a cance
or ok button making the use of the box a 2 click operation.

Here's my code so far!

Simon

Private Sub UserForm_Click()
On Error Resume Next
ActiveCell.Select
ActiveCell.Value = ComboBox1.Value
If ActiveCell.Value = True Then

Unload Me
End If
End Su

--
Message posted from http://www.ExcelForum.com

 
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
Linking to combo box selection PSM[_14_] Excel Worksheet Functions 1 May 21st 09 12:57 AM
Multiple Selection Combo Box Ivor Davies Excel Discussion (Misc queries) 8 April 27th 09 12:43 PM
Multiple selection on a combo box Cesar Excel Worksheet Functions 3 December 17th 08 07:30 PM
Color of selection in combo box Gary[_10_] Excel Programming 2 November 6th 03 01:01 AM
combo box selection disappearance chris[_7_] Excel Programming 1 October 3rd 03 07:36 PM


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