Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi! I have a range. I want to loop through the range and place the values
from the cells into an array. However i have some trouble with the code. I write: Set rngCorr = ThisWorkbook.Sheets("Counterparty").Range("FactorC orrRange") NoR = rngCorr.Rows.Count ReDim dblCorrArray(NoR) 'here are the different correlations for the factos set For i = 0 To NoR dblCorrArray(i) = Range("FactorCorrRange").Offset(i, 0).Value Next I ger error 13 incompatible types. How shall i write the code? pls help! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Read through Range and copy Cell data to Array | Excel Programming | |||
Read through Range and copy Cell data to Array | Excel Programming | |||
How do i read Selection.Shapes.Range(Array(i)? | Excel Programming | |||
Read a range to an array | Excel Programming | |||
Read Range Data into Array | Excel Programming |