Results 1 to 4 of 4
  1. #1
    Ddempsii is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Posts
    24

    VBA Date


    Looking for VBA help. I have a text box with a percentage that shows what the "pacing" percent to goal. In this text box I want to display a default value of the business day we are currently on divided by the total business days in the month. Hoping I can just write one code to automatically know the difference between months. If there are any questions please let me know!

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Sounds complex to me. I would probably start by creating a temp table that only included records to represent each workday within a given date range. I would depend on the WeekDay() function to help me determine what a workday is.
    https://msdn.microsoft.com/en-us/lib.../gg264334.aspx

  3. #3
    Ddempsii is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Posts
    24
    There's a good start, i'll start playing around with what you have posted. Thank you

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    I imagine there will be several small parts to the solution. If a new question arises that seems like it stands alone, that question may warrant its own thread. You might want to include a link to this thread in any new threads. Hard to say until you discover new questions.

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

Similar Threads

  1. Replies: 4
    Last Post: 11-20-2018, 11:57 PM
  2. Replies: 11
    Last Post: 07-20-2014, 06:22 PM
  3. Replies: 1
    Last Post: 02-12-2013, 03:48 AM
  4. Replies: 3
    Last Post: 08-21-2012, 03:05 PM
  5. Replies: 15
    Last Post: 04-06-2012, 10:57 AM

Tags for this Thread

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