Phil Payne
Board Regular
- Joined
- May 17, 2013
- Messages
- 131
- Office Version
- 365
- Platform
- Windows
Hello all,
A simple vba that works
So from 999 to 1000 etc...OK but i need to increase by Month i.e. January 2024 moves to February 2024 etc. and number of days in a month vary.
How can I modify the code to change by calendar month over the years (at least to 2030)
A simple vba that works
VBA Code:
Sub Add_One()
Range ("C10").value = Range ("C10").value+1
End sub
So from 999 to 1000 etc...OK but i need to increase by Month i.e. January 2024 moves to February 2024 etc. and number of days in a month vary.
How can I modify the code to change by calendar month over the years (at least to 2030)