Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Clear cell when drop down combobox is changed

Hi,
I have two comboboxes set up, one dependent on the other. I have been trying
to search for a solution to clear the 2nd one every time a choice is selected
in the first. I have learned and seen a lot of cool things trying to search
for this but still no luck clearing the 2nd combobox.

I would appreciate anyone's help with this!

Thank you,
-Dan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 276
Default Clear cell when drop down combobox is changed

Do this in the ComboBox1 code like:

Private Sub ComboBox1_Change()
ComboBox2.value = ""
End Sub



Corey....

"Dan" wrote in message
...
Hi,
I have two comboboxes set up, one dependent on the other. I have been
trying
to search for a solution to clear the 2nd one every time a choice is
selected
in the first. I have learned and seen a lot of cool things trying to
search
for this but still no luck clearing the 2nd combobox.

I would appreciate anyone's help with this!

Thank you,
-Dan



  #3   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Clear cell when drop down combobox is changed

Thanks Corey - That did it! Knew it was something simple!



"Corey" wrote:

Do this in the ComboBox1 code like:

Private Sub ComboBox1_Change()
ComboBox2.value = ""
End Sub



Corey....

"Dan" wrote in message
...
Hi,
I have two comboboxes set up, one dependent on the other. I have been
trying
to search for a solution to clear the 2nd one every time a choice is
selected
in the first. I have learned and seen a lot of cool things trying to
search
for this but still no luck clearing the 2nd combobox.

I would appreciate anyone's help with this!

Thank you,
-Dan




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
Need to clear cell values, when a different cell is changed. Nicholas Excel Discussion (Misc queries) 1 March 3rd 10 11:10 PM
If cell is changed clear all cells to the right in that row Sonic Excel Programming 1 April 20th 07 07:20 AM
Macro to clear range contents when cell contents are changed by us Steve E Excel Programming 12 February 22nd 07 09:09 PM
Combobox.clear Chris Houchin Excel Programming 5 May 27th 04 08:54 PM
Clear Combobox King[_4_] Excel Programming 3 October 13th 03 06:07 PM


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