+ Reply to Thread
Results 1 to 6 of 6

Workday function

  1. #1
    Registered User
    Join Date
    11-17-2010
    Location
    India
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    83

    Workday function

    Hi friends,

    Can anyone kindly help me.

    I need a VBA function for a excel formula WORKDAY() .

    Kindly help.

    Saky

  2. #2
    Registered User
    Join Date
    12-15-2009
    Location
    Houston, TX, USA
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Workday function

    Have you enabled the Analysis Tool Pak functions?

    in the VBA Editor, go to Tools>References and enable atpvbaen.xls

    Then the Analysis Tool Pak functions (including WORKDAY) would be enabled in the VBA Project for this workbook.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Workday function

    If the ATP Add-In is activated in native XL you can also use via Evaluate call.

    If you want to remove the ATP dependency altogether post back with your existing WORKDAY implementation - there are formula based alternatives (as well as VBA).

  4. #4
    Registered User
    Join Date
    11-17-2010
    Location
    India
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    83

    Re: Workday function

    Guys,

    I am using Microsoft Office excel 2003. I could not able to find the Analysis Tool Pak function atpvbaen.xls
    in the references window. Couled you kindly advise me on this.

  5. #5
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Workday function

    Good afternoon Saky

    Chip Pearson has an article on his site called "A Better Workday Function", along with code examples and an example workbook to download.

    You can find it here.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  6. #6
    Registered User
    Join Date
    11-17-2010
    Location
    India
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    83

    Re: Workday function

    Hi Dominic,

    Thanks for your help...But i am not looking for how to use WORKDAY function as i already have an article on how to use WORKDAY function. Thanks for sending me the document anyways.

    I just want to know what add ins should be activated in my excel so that WORKDAY function will work in VBA window?

    Thanks in advance.
    Saky.

+ 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