Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Using an Excel macro to reset a drop down list

How do I reset a drop down list to a default, such as "Choose answer," using
a macro. I tried recording it straight forward, but no luck.

I'd like the macro to 1) clear the name field (this is a quiz), 2) reset the
score to zero and 3) reset the drop down answers for each question to "choose
answer." I already have #1 and #2 figured out. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default Using an Excel macro to reset a drop down list

It sounds like you already know what the result should be. So rather than
worry about selecting the first item from the validation list, you could just
set the proper starting value: Range("A1") = "choose answer" (repeat for
each cell that needs to be reset).

"BrucenAZ" wrote:

How do I reset a drop down list to a default, such as "Choose answer," using
a macro. I tried recording it straight forward, but no luck.

I'd like the macro to 1) clear the name field (this is a quiz), 2) reset the
score to zero and 3) reset the drop down answers for each question to "choose
answer." I already have #1 and #2 figured out. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Using an Excel macro to reset a drop down list

I like your idea. However, the drop down lists are not assigned to specific
cells. How do I define the Range of a drop down list? Thanks.

"bpeltzer" wrote:

It sounds like you already know what the result should be. So rather than
worry about selecting the first item from the validation list, you could just
set the proper starting value: Range("A1") = "choose answer" (repeat for
each cell that needs to be reset).

"BrucenAZ" wrote:

How do I reset a drop down list to a default, such as "Choose answer," using
a macro. I tried recording it straight forward, but no luck.

I'd like the macro to 1) clear the name field (this is a quiz), 2) reset the
score to zero and 3) reset the drop down answers for each question to "choose
answer." I already have #1 and #2 figured out. Thanks.

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
Excel, Macro, Drop down list Ajgoodson Excel Discussion (Misc queries) 14 February 10th 10 11:23 PM
Drop down list macro? soteman Excel Discussion (Misc queries) 1 August 12th 06 01:54 AM
Run macro from drop list Jeze77 Excel Discussion (Misc queries) 0 April 6th 06 05:23 PM
How to run different macro from drop-down list ??? M. Leclerc Excel Discussion (Misc queries) 0 February 4th 06 03:29 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM


All times are GMT +1. The time now is 10:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"