Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() hi ! I apriciate your help about validate list. I creat a macro to build a validate list, but when I open this validate List it dos'nt start on the top but in the middle and I have to move the ligule up every time I open it how can I change this situation this is the macro Sub Add_Validate_List() ActiveCell.Select With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="=$J$11:$J$13" .IgnoreBlank = True .InCellDropdown = True .InputTitle = "" .ErrorTitle = "" .InputMessage = "" .ErrorMessage = "" .ShowInput = True .ShowError = True End With End Sub can you help me whithin the macro or whatever ? thank you chaim rozent fax 972-4-8776654 *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Chaim: Did you mean to set your validation list range as j11:j13? Or
should it be j1:j13? ($J:1$J13) Ed "haim rozent" wrote in message ... hi ! I apriciate your help about validate list. I creat a macro to build a validate list, but when I open this validate List it dos'nt start on the top but in the middle and I have to move the ligule up every time I open it how can I change this situation this is the macro Sub Add_Validate_List() ActiveCell.Select With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="=$J$11:$J$13" .IgnoreBlank = True .InCellDropdown = True .InputTitle = "" .ErrorTitle = "" .InputMessage = "" .ErrorMessage = "" .ShowInput = True .ShowError = True End With End Sub can you help me whithin the macro or whatever ? thank you chaim rozent fax 972-4-8776654 *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
should it be j1:j13? ($J:1$J13)
Sorry - should be ($J$1:$J$13). Ed "Ed" wrote in message ... Chaim: Did you mean to set your validation list range as j11:j13? Or should it be j1:j13? ($J:1$J13) Ed "haim rozent" wrote in message ... hi ! I apriciate your help about validate list. I creat a macro to build a validate list, but when I open this validate List it dos'nt start on the top but in the middle and I have to move the ligule up every time I open it how can I change this situation this is the macro Sub Add_Validate_List() ActiveCell.Select With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="=$J$11:$J$13" .IgnoreBlank = True .InCellDropdown = True .InputTitle = "" .ErrorTitle = "" .InputMessage = "" .ErrorMessage = "" .ShowInput = True .ShowError = True End With End Sub can you help me whithin the macro or whatever ? thank you chaim rozent fax 972-4-8776654 *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a blank cell in the range J1:J13?
When you open the Data Validation dropdown list, it takes you to the first item that matches the cell contents. If the cell is blank, and there are blank cells in your data validation source list, the first of these will be selected in the dropdown list. To prevent this, remove the blank cells from the data validation source list, or have a default entry in the cell, and the list will open to that item. haim rozent wrote: hi ! I apriciate your help about validate list. I creat a macro to build a validate list, but when I open this validate List it dos'nt start on the top but in the middle and I have to move the ligule up every time I open it how can I change this situation this is the macro Sub Add_Validate_List() ActiveCell.Select With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="=$J$11:$J$13" .IgnoreBlank = True .InCellDropdown = True .InputTitle = "" .ErrorTitle = "" .InputMessage = "" .ErrorMessage = "" .ShowInput = True .ShowError = True End With End Sub can you help me whithin the macro or whatever ? thank you chaim rozent fax 972-4-8776654 *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
XL2000, CF and List Comparisons | Excel Worksheet Functions | |||
Data/Validate/List | Excel Worksheet Functions | |||
how do you validate a list with more than one column | Excel Discussion (Misc queries) | |||
converted a column to List yet wants to Validate as well | Excel Discussion (Misc queries) | |||
validate data from list without picklist | Excel Discussion (Misc queries) |