+ Reply to Thread
Results 1 to 2 of 2

transferring calculations from Excel to VBA (to save calculation time)

Hybrid View

  1. #1
    Registered User
    Join Date
    01-12-2004
    Posts
    1

    transferring calculations from Excel to VBA (to save calculation time)

    I have a contiguous range of rows starting from B5 and could end anywhere below.
    Now cell A1 has the formula "=if(B1="","",Pricer(B1, C1, D1))" etc. and it goes on upto A20000.
    Instead of this I need only values in A1:A20000 based on above formula. All calculation is to be done in VBA without doing .Formula = "=Pricer…etc " and then doing .value = .value
    Thanks in advance

    ** Pricer is an add-in based function and the purpose of moving to background calculation in VBA is to save time. For purposes of illustration you may use the function SQRT(B2*C2*D2) to replicate the function Pricer(B1,C1,D1)

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Why not set calculation to manual and calculate as needed?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1