array in VBA

  • Thread starter Thread starter VCN
  • Start date Start date
V

VCN

hi, I want to create an array which has 110 elements that have the valu
from colum E ( from E1-E110) of the workbook , How can I do it ?
Thanks in advanc
 
Dim vArr as Variant
vArr = Range("E1:E110").Value

this produces a 2D array

for i = 1 to 110
temp = vArr(i,1)
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top