Results 1 to 3 of 3
  1. #1
    tonycl69 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Nov 2012
    Posts
    102

    Excel formula to access vba.

    Can anyone translate this into Access speak?

    =TEXT(WEEKDAY(DATE(CalendarYear,1,1),1),"aaa")

    Calendaryear being a cell that is changed by the user.

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,397
    something like

    weekdayname(weekday(dateserial(calendaryear,1,1),1 ),True)

  3. #3
    tonycl69 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Nov 2012
    Posts
    102
    Thanks again Ajax, works a treat, just have to incorporate it into the database.

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

Similar Threads

  1. Excel formula to Access
    By JimO in forum Access
    Replies: 2
    Last Post: 03-05-2016, 04:48 PM
  2. Replies: 19
    Last Post: 07-13-2015, 10:15 AM
  3. Replies: 41
    Last Post: 05-29-2015, 02:58 PM
  4. set excel formula from access vba
    By trevor40 in forum Programming
    Replies: 16
    Last Post: 11-26-2014, 07:32 PM
  5. How to use this formula from Excel in Access?
    By jset818 in forum Queries
    Replies: 11
    Last Post: 10-16-2014, 03:32 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