Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a sheet populated with a changing list of names. I am trying to
create code which will assign those names to a dynamic array. The code looks for the cell with the value "Mechanics:" and then I want it to assign the groups of mechanics names in the changing range of names directly below the found cell to an array. I have the following code snippet which I am having troubles with: With Worksheets("Index") Set c = .Cells.Find("Mechanics:", LookIn:=xlValues) If Not c Is Nothing Then MechNameStart = c.Offset(1, 0) MechNameEnd = MechNameStart.End(xlDown) End If End With I am getting Run-time error '424': Object required. What I would like to do then is assign the entire range from the start (MechNameStart) to the end (MechNameEnd) to an array. Thanks in advance for any assistance... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Assing a Name to a Range | Excel Programming | |||
Assigning a Range to a dynamic array | Excel Programming | |||
creating a dynamic range based on criteria, within a dynamic range, and passing it to a function | Excel Programming | |||
array formula with a dynamic range. | Excel Worksheet Functions | |||
Subscript out range error when redimensioning dynamic array | Excel Programming |