Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help with Selection Property
Hi
I have the following cod Dim count1 As Intege Worksheets("ABC").Activat ActiveSheet.Range("AR:AR").Selec count1 = Selection.Column.coun For i = 1 To count ComboBox15.AddItem CStr(Sheet1.Range("AR" + CStr(i)).Value Nex I want to know the last row number in column AR that contains the data (Column AR has blank cells too ) and run the loop equal number of times. But every time I run this code, it gives an error on line "count1 = Selection.Column.count Plz hel Thnks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Limiting selection in a cell AND linking that selection to a list | Excel Discussion (Misc queries) | |||
Copy Selection - Transpose Selection - Delete Selection | Excel Discussion (Misc queries) | |||
Identifying a selection of a selection of a range | Excel Worksheet Functions | |||
limit cell list selection based on the selection of another list | Excel Worksheet Functions | |||
How to find what object type is returned from Selection property ? | Excel Programming |