ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   simple formula for next month (https://www.excelbanter.com/excel-programming/319897-simple-formula-next-month.html)

ameliacat

simple formula for next month
 
Here is the formula for the beginning month:

datMonBeg = DateSerial(Year(objCell.Offset(0, 5).Value),
Month(objCell.Offset(0, 4).Value), 1)

Now I want to reference the following month. Is there a simple formula for
this?




Bob Phillips[_6_]

simple formula for next month
 
datMonBeg = DateSerial(Year(objCell.Offset(0, 5).Value),
Month(objCell.Offset(0, 4).Value) + 1, 1)


--

HTH

RP
(remove nothere from the email address if mailing direct)


"ameliacat" wrote in message
...
Here is the formula for the beginning month:

datMonBeg = DateSerial(Year(objCell.Offset(0, 5).Value),
Month(objCell.Offset(0, 4).Value), 1)

Now I want to reference the following month. Is there a simple formula

for
this?







All times are GMT +1. The time now is 03:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com