LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
RR RR is offline
external usenet poster
 
Posts: 2
Default How to calculate

Hello,

I want to make a userform under excel 2000 which does the following :

1) Allow the user to select a range of cells

2) Click a button to compute :

for j=1 to 5
s(j)=0
for i = 1 to number of selected cells
s(j)=s(j)+ cell(i)^j
next i
next j


The 1) I have done with a RefEdit element and during execution,
I have something like RefEdit1.Value="Sheet1!$A$2:$A$17"

My problem now is to une that value to compute the sums s(j)

Any ideas ?

Thankyou in advance

RR
 
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
calculate time does not calculate Wanna Learn Excel Discussion (Misc queries) 4 August 19th 08 12:51 AM
calculate Susan Excel Worksheet Functions 1 January 30th 07 01:21 PM
Activesheet.Calculate failing to calculate Daniel Bonallack Excel Programming 2 October 11th 06 03:16 AM
How can I calculate.... mgarcia Excel Discussion (Misc queries) 3 February 8th 06 03:46 AM
Macro that hide or unhide and not calculate or calculate Jonsson Excel Programming 1 August 19th 03 04:22 PM


All times are GMT +1. The time now is 06:14 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"