Not seen this answered elsewhere. I want to automate a file to put in three headers based on the current week. Firstly i cant figure out how to get the current week. A similar thing to the excel formula weeknum(today()). So this week is week 25 in the fiscal calender.
I need the programme to work out the current week but then also input the previous 2 weeks so to pull back week 25,24 and 23. I cant just get the week number 25 above and -1 as when we hit week 1 next year the number will go to 0
Hope that makes sense. I heard date is a bit of a pain so hopefully its not too complicated.