#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Dropdownbox

Hi Alvin
This should work provided there aren't any gaps in your
range. If there are, you could record a macro to remove
the blanks.
You don't say if your dropdown box is on a worksheet or a
userform, but if the latter this code should be in the
userform_initate() module.

dim myCellEnd
myCellEnd= Worksheets("name").Range("A1").End _
(xlDown).Address(ROWABSOLUTE:=False)

With ComboBox1
.List = Worksheets("SHIFTS").Range("A1:" & myCellEnd)
End With

-----Original Message-----
Hi
I have a dropdownboks there takes the vakue from

$a$1:$a$12
but some times there are 4 values sometimes 10 an so on
but in my dropdownboks I have all the values also the

lines there are emty
Can't I not tell the dropdownboks only to takes the rows

in $a$1:$a$12 where
there are values in

best regards

Alvin

.

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
Dropdownbox Debra Dalgleish Excel Programming 1 August 6th 04 09:13 AM
Dropdownbox Frank Kabel Excel Programming 1 August 5th 04 07:27 AM


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