sikander1986
Board Regular
- Joined
- Sep 6, 2008
- Messages
- 66
Hi,
I want to automate the week & month columns i.e. B & C with the help of VBA. I have date in column A & based on the date the column B & C should get updated auotmatically. Suppose the date in column A is 18-Aug-11 then column B should have 15-Aug-11(starting day of the week i.e. Monday) & column C should be Aug'11. For your reference below is the example of screenshot.
A B C
DATE WEEK MONTH
27-Jul-11 25-Jul-11 Jul'11
11-Aug-11 8-Aug-11 AUG'11
17-Aug-11 15-Aug-11 AUG'11
18-Aug-11 15-Aug-11 AUG'11
19-Aug-11 15-Aug-11 AUG'11
Thanks for your help in advance.
I want to automate the week & month columns i.e. B & C with the help of VBA. I have date in column A & based on the date the column B & C should get updated auotmatically. Suppose the date in column A is 18-Aug-11 then column B should have 15-Aug-11(starting day of the week i.e. Monday) & column C should be Aug'11. For your reference below is the example of screenshot.
A B C
DATE WEEK MONTH
27-Jul-11 25-Jul-11 Jul'11
11-Aug-11 8-Aug-11 AUG'11
17-Aug-11 15-Aug-11 AUG'11
18-Aug-11 15-Aug-11 AUG'11
19-Aug-11 15-Aug-11 AUG'11
Thanks for your help in advance.