Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Return to a default state???

Alrighty, I got the drop down lists working and returning the values they
should....BUT...still having a hitch

B7 contains a drop down list with 3 choices
*Team not present (returns a value of 0 in C7
*Team 1 & 2 (returns a value of 180 in C7)
*Team 1 only (returns a value of 100 in C7)

B8 - B12 have other drop down lists that are dependent on the choice made in
B7 and their corresponding values put in column C as well. (Actually, Column
B# looks at the score in C7 and determines what choices are available, that
was the easiest way I could figure out how to do it, and it works - EXCEPT)

Although the scores in column C are correct, If you change your choice in
B7, the spreadsheet retains the choices made in the drop down list so that it
appears that they were actually chosen until you go into the drop down and
are presented with the new choices based on the score in C7.

Bottom line, I want to be able to set a 'default' text in B# , or better
yet.... a button/key/command at the beginning of the spreadsheet that will
set all cells to blank until something happens in B7.

Also, is there a way to set the dropdown arrow to remain on instead of
mousing over?

Again, many MANY thanks for the help!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default Return to a default state???

G'day Lost & Confused

Q.1
you could insert this into your workbook:

In the VB Editor, insert this into "This Workbook"

Private Sub Workbook_Open()
Sheets("YourSheetName").Select
Range("YourCellRange(s)").Select
Selection = ""
End Sub

This will only work when the workbook is opened.

If you want to use this as a command button:

Insert this into a module

Sub Ive_Changed_My_Mind()
Sheets("YourSheetName").Select
Range("YourCellRange(s)").Select
Selection = ""
End Sub

Q.2

Have you considered using a Combobox which you can insert over the cell,
instead of using data validation dropdowns.

HTH
Mark.


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
How can I show state-by-state data (as silos) on a map of NA Rob Charts and Charting in Excel 0 November 5th 07 03:41 PM
City State Zip Texas Nuckols Excel Discussion (Misc queries) 3 August 7th 07 10:56 PM
State Map Lost_user Excel Discussion (Misc queries) 0 December 7th 06 04:04 AM
Converting State Names to State Abbreviations aznate Excel Discussion (Misc queries) 1 October 20th 06 06:52 AM
How to return the default setting of numbering format in Excel? saturn Excel Discussion (Misc queries) 1 July 7th 06 07:40 AM


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