Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Include Blank Value In Validation List

hi, i have two sheets in workbook named as shtbiz,shtbiz1.
so column A of my shtbiz1 sheet i have 100 datas.the by using following code
i can fill the datas of shtbiz1 in column A of shtbiz.
code:

Code:
Dim strValItems
strValItems = ""
Dim rngValList As Range, rngValCell As Range
Set rngValList = ShtBiz1.Range("A6", Range("A10000").End(xlUp))
With ShtBiz.Range("A6:A10000")
.Validation.Delete
For Each rngValCell In rngValList
If Len(strValItems) 0 Then strValItems = strValItems & ","
strValItems = strValItems & rngValCell.Value

Next
.Validation.Add xlValidateList, , , strValItems
End With

so my problem is i need to add blank value in the top of the list .ie first
value should be blank then other values which read from shtbiz1 has to be
followed.so please help me to include one blank value at the to pof my
validation list please
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
Indirect validation list with blank in list RT Excel Discussion (Misc queries) 3 June 5th 09 02:36 AM
How do include a (blank) cell within a Custom Fill List? VickiMc Excel Discussion (Misc queries) 0 October 2nd 08 02:32 AM
blank entries in data validation list WiFiMike2006 Excel Worksheet Functions 2 December 13th 06 07:33 PM
validation and omitting blank vaues from list MGOETZ Excel Worksheet Functions 3 May 20th 05 09:24 PM
Returning a blank for validation list Wes Excel Worksheet Functions 1 March 6th 05 05:48 PM


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