Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Converting EasyLanguage to Excel

Is anyone familiar enough with EasyLanguage to convert the following to
Excel:

Period = 0;
Value = 0;
For count = 0 to 50 begin
Value = Value + Interest[count];
If Value 100 and Period = 0 then begin
Period = count;
end;
end;


I'm not familiar with EasyLanguage and I'm not sure about the direct
translation. Thanks for the assist!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Converting EasyLanguage to Excel

ub titanus()
Dim interest(50)
Period = 0
valu = 0

For i = 1 To 50
interest(i) = 5
Next

For Count = 1 To 50
valu = valu + interest(Count)
If valu 100 And Period = 0 Then
Period = Count
End If
Next
End Sub


Note that the loop initializing interest can be changed to suit your needs.
--
Gary''s Student


"Titanus" wrote:

Is anyone familiar enough with EasyLanguage to convert the following to
Excel:

Period = 0;
Value = 0;
For count = 0 to 50 begin
Value = Value + Interest[count];
If Value 100 and Period = 0 then begin
Period = count;
end;
end;


I'm not familiar with EasyLanguage and I'm not sure about the direct
translation. Thanks for the assist!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Converting EasyLanguage to Excel

Gary, thanks alot for the response. One question....any idea how to
pull this off without using a VBA function?

Gary''s Student wrote:
ub titanus()
Dim interest(50)
Period = 0
valu = 0

For i = 1 To 50
interest(i) = 5
Next

For Count = 1 To 50
valu = valu + interest(Count)
If valu 100 And Period = 0 Then
Period = Count
End If
Next
End Sub


Note that the loop initializing interest can be changed to suit your needs.
--
Gary''s Student


"Titanus" wrote:

Is anyone familiar enough with EasyLanguage to convert the following to
Excel:

Period = 0;
Value = 0;
For count = 0 to 50 begin
Value = Value + Interest[count];
If Value 100 and Period = 0 then begin
Period = count;
end;
end;


I'm not familiar with EasyLanguage and I'm not sure about the direct
translation. Thanks for the assist!



Reply
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Converting Data from pdf into an Excel spreasdsheet torajudo Excel Discussion (Misc queries) 6 April 2nd 06 06:46 PM
How to prevent Excel converting imported fractions into dates Phil A in the UK Excel Discussion (Misc queries) 6 March 28th 06 08:03 AM
Executable for converting excel XML to XLS [email protected] Excel Discussion (Misc queries) 0 March 14th 06 04:01 PM
Stop Excel from converting text labels in CSV files to Values Just Want a Label! Excel Discussion (Misc queries) 1 January 11th 05 04:51 PM


All times are GMT +1. The time now is 11:46 PM.

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"