Converting Excel formulas to Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All,

I have a formula that I have in Excel and I would like to use it in access.
in excel i use DEGREES, ACOS,SIN,RADIANS and ABS.

not all of these are in Access. Any Ideas?

Thanks,
 
you can use excel worksheet functions in Access. For example:

CeilingVariable = ExcelObject.WorksheetFunction.Ceiling(iOne, iTwo)

~~~~~~~~~~~
Sub test()
Dim xlApp As Object
Set xlApp = CreateObject("Excel.Application")
MsgBox xlApp.WorksheetFunction.Ceiling(306, 10)
xlApp.Quit
Set xlApp = Nothing
End Sub
~~~~~~~~~~~


Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote programming and Training
strive4peace2006 at yahoo.com
*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top