Results 1 to 6 of 6
  1. #1
    RobFlott is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2015
    Posts
    22

    Is there a way to import an Excel Function (WEEKNUM) into Access?


    I have a query where i am using Builder to identify the Week Number for specific dates. In Excel i use the WEEKNUM Function, but I cannot find this in Access.
    Is there a way to make this function available in Access?

    Thank you

  2. #2
    kd2017 is offline Well, I tried at least.
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    1,142
    Try
    Code:
    DatePart("ww", [YourDateField])
    https://access-programmers.co.uk/for...d.php?t=216309

  3. #3
    Join Date
    Apr 2017
    Posts
    1,673
    What kind of week number? US? ISO? Some other (there are lot of different variants for week numbering over the world)?

  4. #4
    RobFlott is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2015
    Posts
    22
    I don't know which format my version of Excel uses, I think it is 'US' format.

  5. #5
    RobFlott is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2015
    Posts
    22
    Thank you very much, this worked

  6. #6
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    you might find this site useful going forward

    https://www.techonthenet.com/access/functions/
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 2
    Last Post: 02-28-2017, 01:34 AM
  2. Replies: 2
    Last Post: 02-26-2017, 11:31 AM
  3. Replies: 10
    Last Post: 06-16-2014, 08:37 AM
  4. Import access query data into excel file, using excel vba
    By exceljockey in forum Import/Export Data
    Replies: 3
    Last Post: 11-15-2013, 02:36 PM
  5. Replies: 4
    Last Post: 12-17-2012, 01:21 PM

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