Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=index(a1:a100,n)
in code: dim myVal as variant dim n as long n = 66 myval = application.index(worksheets("Somesheetname").rang e("a1:a100"), n) MLT wrote: Great! Now how about this: I have a user-defined one-dimensional range (say A1:A100). How do I ask for the value of the nth element in that range? -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PDF basics | Excel Programming | |||
Add Ins basics | Excel Programming | |||
basics? | New Users to Excel | |||
MsgBox basics | Excel Programming | |||
Help with the basics. Starting out. | Excel Programming |