|
In addition to the functions available in the standard version http://cargocal.com/SNsOil.html the following functions are made available in the advanced version. This will keep the file size small and give fast calculations. (See Calling .DLL Function vs. Visual Basic Worksheet Function) Further, you can access and call the functions in multiple projects at the same time. However, a registered Dll has to be purchased for each machine it is being used on. Select the level from Standard, Advanced, Premium or Universal according to your need.
Extract the zipped file to "C:\Cargocal". Then from the Start-Run button, register the add-in by typing RegSvr32 "c:\cargocal\SNsAdvOil.dll". Then from Excel, Tools-Addins, click on the 'Automation, button. Select SNsAdvOil.OilCalc from the list or use the Browse button to the Cargocal folder and select the add-in SNsAdvOil.dll The functions are - Tab6c(API As Double,
DegC as Double) As Double
SG60F(API As Double, Optional AD As String = "A")
As Double ' If Density, Pass AD = "D" Chems(Density As Double, DegC As Double, CoEfF As Double, BaseTemp As Double) As Double ' For Chemicals VCF(table As String, API As Double, DegC as Double) As Double ' Tables are 6A/B/C, 24A/B/C, 54A/B/D, API is either API or Density Example: =VCF(a1,b1,c1) returns 0.98822 where A1="6C", B1=0.0003355, C1=35 RoundM(num As Double, Precision As Single) As Double For
OBQ/ROB - For sake of uniformity, temperature to be passed is in degrees Centigrade to all the functions and is automatically changed to Fahrenheit internally, if required. (Unless either is allowed by the argument 'CF' as string). Users
may send their queries to
This project has a limit of 100 calculations and / or prevents printing with the unregistered copy. With 100 calculations, the user can test the usefulness of this add-in substantially for a tank or two. To get the registered version, click on the button below to purchase via secure transactions and send us by e-mail the file "licSNOilPCID.pvf" generated by the project. You will find this file in 'C:\Cargocal\DllA. We will send you the release code file by return e-mail.
|