+ Reply to Thread
Results 1 to 4 of 4

Display current month working days in a message box

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    883

    Display current month working days in a message box

    Hi guys

    I have a access table with two fields named as "Month" and "Bank Holidays". I have put names of the month in this table for 2014 and the corresponding bank holidays of each month. Now I want to write down the piece of code that will execute when a button on the userform is pressed and it should check the current month of the year and then display the total working days ( After subtracting bank holidays of that month and weekends of that month from the total working days of that month).

    Can anyone please help me in this?

    Regards,
    Aman

  2. #2
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    883

    Re: Display current month working days in a message box

    Hi guys

    Can anyone please help me in this?

    Thanks

  3. #3
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    883

    Re: Display current month working days in a message box

    Hi guys

    The following coee in MS Access works fine but I want to convert into Excel/vba.

    I hope anayone can help me in this.

    Please Login or Register  to view this content.
    Thanks

  4. #4
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Re: Display current month working days in a message box

    What about Networkdays function, tried that in VBA ? I'm not an expert, but It works when you insert It on a sheet, holidays can be made in a list. But you'd had to do this in VBA, not sure how...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Show days in a month dynamically + working days
    By vemix in forum Excel General
    Replies: 5
    Last Post: 12-28-2012, 07:54 AM
  2. [SOLVED] How many days left in the current month
    By lumberjim in forum Excel General
    Replies: 24
    Last Post: 11-12-2012, 03:25 PM
  3. calculate No. of days between two date WITHIN A CURRENT MONTH
    By ahgoon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-02-2009, 04:48 PM
  4. counting working days in current month
    By firefiend in forum Excel General
    Replies: 5
    Last Post: 06-14-2007, 11:05 AM
  5. Replies: 6
    Last Post: 03-20-2005, 02:06 PM

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