Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to automatically clear cells upon changing/making selection?


My new Specification Form uses combo boxes (control form) to select
options for several product models.

The _first_step_ is to select the model with a combo box. Once the
model is selected, the remaining combo boxes provide lists of options
that are appropriate to the model selected. So far so good.

Normally, the user will start with a fresh, blank form to specify a
product. Occassionally, however, the user may specify a product, print
the results, and go on to the next product without reopening the form,
so I provided a button (macro) that clears the form to start a new
product spec.

Unfortunatley, if the user forgets to clear the form and simply changes
the model and proceeds with the new specs, it would be possible to keep
some of the options from the previous model even if they were
incorrect.

IS THERE A WAY TO DETECT WHEN A MODEL SELECTION IS MADE, _FIRST_STEP_
AND RUN THE MACRO THAT CLEARS THE CELLS?

Thanks!

Alex


--
Ingeniero1
------------------------------------------------------------------------
Ingeniero1's Profile: http://www.excelforum.com/member.php...fo&userid=4029
View this thread: http://www.excelforum.com/showthread...hreadid=533424

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default How to automatically clear cells upon changing/making selection?

It would seem that you are already doing that to populate the choices for the
other comboboxes?

If not, then use the click event for the model.



--
Regards,
Tom Ogilvy


"Ingeniero1" wrote:


My new Specification Form uses combo boxes (control form) to select
options for several product models.

The _first_step_ is to select the model with a combo box. Once the
model is selected, the remaining combo boxes provide lists of options
that are appropriate to the model selected. So far so good.

Normally, the user will start with a fresh, blank form to specify a
product. Occassionally, however, the user may specify a product, print
the results, and go on to the next product without reopening the form,
so I provided a button (macro) that clears the form to start a new
product spec.

Unfortunatley, if the user forgets to clear the form and simply changes
the model and proceeds with the new specs, it would be possible to keep
some of the options from the previous model even if they were
incorrect.

IS THERE A WAY TO DETECT WHEN A MODEL SELECTION IS MADE, _FIRST_STEP_
AND RUN THE MACRO THAT CLEARS THE CELLS?

Thanks!

Alex


--
Ingeniero1
------------------------------------------------------------------------
Ingeniero1's Profile: http://www.excelforum.com/member.php...fo&userid=4029
View this thread: http://www.excelforum.com/showthread...hreadid=533424


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to automatically clear cells upon changing/making selection?


Tom, you said-
-"It would seem that you are already doing that to populate the choices
for the other comboboxes?"-

You are correct IF the user clears all the combo boxes between models
before filling them.
But if they are not cleared first, it is possible to miss one and leave
it with the previous information.
What I am trying to learn how to do is to make the clearing of the
boxes a must or make it happen automatically.

-"If not, then use the click event for the model."-
Could you expand on this?

Thanks!

Alex


--
Ingeniero1
------------------------------------------------------------------------
Ingeniero1's Profile: http://www.excelforum.com/member.php...fo&userid=4029
View this thread: http://www.excelforum.com/showthread...hreadid=533424

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default How to automatically clear cells upon changing/making selectio

In the last statement It should have been use the click event for the
combobox where the user selects a new model or perhaps a new product.

--
Regards,
Tom Ogilvy


"Ingeniero1" wrote:


Tom, you said-
-"It would seem that you are already doing that to populate the choices
for the other comboboxes?"-

You are correct IF the user clears all the combo boxes between models
before filling them.
But if they are not cleared first, it is possible to miss one and leave
it with the previous information.
What I am trying to learn how to do is to make the clearing of the
boxes a must or make it happen automatically.

-"If not, then use the click event for the model."-
Could you expand on this?

Thanks!

Alex


--
Ingeniero1
------------------------------------------------------------------------
Ingeniero1's Profile: http://www.excelforum.com/member.php...fo&userid=4029
View this thread: http://www.excelforum.com/showthread...hreadid=533424


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
Clear cells automatically bigmaas Excel Discussion (Misc queries) 7 March 3rd 10 04:13 PM
Automatically clear values from a range of selected cells John Davies Excel Discussion (Misc queries) 1 June 28th 05 04:42 PM
Making Cells Automatically Add #'s Instead of being written over UBER_GEEK Excel Programming 3 June 18th 05 10:34 AM
How do I clear data in selected cells automatically Jim Train Excel Discussion (Misc queries) 1 May 25th 05 06:45 PM
cells not changing selection after sheets array Simon Lloyd[_477_] Excel Programming 4 June 9th 04 03:23 PM


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