Hello group
Today my challenge should be simple.
I have the need to convert a Day in a number.
Monday to 1
Tuesday to 2
etc.. until Sunday with 7
Hope you can help me to use this code in one VBA i am using for simplifying a week import of data.
Hello group
Today my challenge should be simple.
I have the need to convert a Day in a number.
Monday to 1
Tuesday to 2
etc.. until Sunday with 7
Hope you can help me to use this code in one VBA i am using for simplifying a week import of data.
Can be done with a formula:
=WEEKDAY(A2:A1312,2)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
Marked as solved.
Glad to have helped.
If you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks