LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default SumProduct basics

=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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF basics Brad Excel Programming 1 August 4th 08 06:11 PM
Add Ins basics KobusD[_2_] Excel Programming 2 August 8th 07 02:49 AM
basics? n21 New Users to Excel 7 September 21st 06 12:37 PM
MsgBox basics Phil C[_4_] Excel Programming 7 March 14th 06 08:35 AM
Help with the basics. Starting out. beeawwb Excel Programming 2 January 9th 04 12:17 AM


All times are GMT +1. The time now is 09:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"