Click here to Skip to main content
16,018,949 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The following VBA function calculates very slowly in Excel. I am interested in finding someone who can provide an add-in for this in C. I am willing to pay for this service.

VB
Function DRXL( A, B, Row)
'A and B are integers and row is the worksheet row number'

    Set Lows = Range("Lows")
    Set Highs = Range("Highs")
    Set TR = Range("TR")
    HH = 0
    For n = A To B
        Value1 = (Highs.Cells(Row) - Lows.Cells(Row - n)) / Sqr(n)
        If Value1 > HH Then
            HH = Value1
        End If
    Next
    DRXL = HH / Application.Average(Range(TR.Cells(Row), TR.Cells(Row - 20)))
End Function
Thanks,
Peter Day
Posted
Updated 3-Jul-11 13:01pm
v3
Comments
Christian Graus 3-Jul-11 18:55pm    
Sounds like you want to place a job ad somewhere. I think CPs job board is gone, but this is the wrong place to ask to hire someone.
Dalek Dave 3-Jul-11 19:02pm    
Edited for correct code blocking and to correct comment line in code.

1 solution

There are articles on CP that use addin the way you want. Try reading the articles @ :
Sample Excel Function Add-in in C[^]

Create an Automation Add-In for Excel using .NET[^]

and on MS @ http://support.microsoft.com/kb/178474[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900