Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default validate list xl2000


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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 194
Default validate list xl2000

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 194
Default validate list xl2000

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default validate list xl2000

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
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
XL2000, CF and List Comparisons LPS Excel Worksheet Functions 3 September 29th 08 07:41 PM
Data/Validate/List BobxxCalgary Excel Worksheet Functions 1 July 31st 08 11:14 PM
how do you validate a list with more than one column millionmiler Excel Discussion (Misc queries) 1 February 20th 08 01:22 AM
converted a column to List yet wants to Validate as well tikchye_oldLearner57 Excel Discussion (Misc queries) 2 July 17th 06 04:50 PM
validate data from list without picklist Tara Keane Excel Discussion (Misc queries) 1 January 27th 05 03:37 PM


All times are GMT +1. The time now is 12:25 AM.

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"