Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Data Validation Question

I am trying to set a default selection in a List under Data Validation, so
when the worksheet is opened, a default value is there but the user can
change the value if necessary. Is this possible and if it is, how can this
be done?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Data Validation Question

Just select the value you want and save the workbook. Next time you open the
workbook, that value should still be there.

If you're saying that you want that default value reset each time the workbook
opens, you could use an auto_open procedure that changes the value.

Option Explicit
Sub Auto_Open()
ThisWorkbook.Worksheets("somesheetnamehere").range ("x9999").value = "MyValue"
End Sub

Change the sheet name and the address of the cell and the value to what you
need.

This does depend on the user allowing macros to run, though.

jwags wrote:

I am trying to set a default selection in a List under Data Validation, so
when the worksheet is opened, a default value is there but the user can
change the value if necessary. Is this possible and if it is, how can this
be done?


--

Dave Peterson
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
Data Validation Question Steve Haack Excel Worksheet Functions 1 July 22nd 08 06:28 PM
Data Validation Question Please Help[_2_] Excel Discussion (Misc queries) 4 October 26th 07 07:30 PM
Data Validation Question ALEX Excel Worksheet Functions 5 February 2nd 07 02:46 PM
Data Validation Question Andrew Mackenzie Excel Discussion (Misc queries) 1 January 22nd 07 02:57 PM
Data validation question Ted Rogers New Users to Excel 3 September 5th 05 12:26 AM


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