Results 1 to 4 of 4
  1. #1
    TPH is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    20

    Excel NORMSDIST Function

    Anyone know how I can perform the Excel NORMSDIST function in Access?

    Thanks

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Did you solve this and do you care to share with others that read this forum?

  3. #3
    TPH is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    20
    I actually copied over a Module that included the Excel NORMSDIST function from an Access database that was forwarded to me and it wasn't working. I googled for an answer how to get the NORMSDIST function from Excel into Access. One of the solutions was to create a Module, which I did by copying over the Module but it wasn't working. After further reading I noticed I had to "activate" Excel functions in Access. To do this, I had to be in Visual Basic, click on Tools, then References and click the box next to Microsoft Excel and then hit ok. It then worked for me. Below is the Module I copied over and it worked for my puproses, but unfortunately I wouldn't be able to break it down and explain how it all works.

    Public Function N(X As Double) As Double
    N = Excel.WorksheetFunction.NORMSDIST(X)
    End Function

    I hope this helps you out.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Thanks. That's better that a single post thread with just a question, marked as Solved.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Nz function and link to Excel
    By thart21 in forum Queries
    Replies: 5
    Last Post: 06-23-2011, 10:48 AM
  2. excel function in access
    By lmp101010 in forum Queries
    Replies: 1
    Last Post: 08-03-2010, 05:02 PM
  3. VBA to open excel, import on close of excel
    By bdaniel in forum Programming
    Replies: 0
    Last Post: 03-20-2010, 02:45 PM
  4. Want function to get current function name
    By Davis DeBard in forum Programming
    Replies: 2
    Last Post: 08-13-2009, 05:02 AM
  5. Excel Function PercentRank in MS Access ?
    By world33 in forum Programming
    Replies: 1
    Last Post: 10-27-2006, 07:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums