Hello,
Is there a way to use the vba code to change the date on Sheet2 Cell 2
with a spinner button on Sheet6?
Thank you for your help,
jfcby
RichardSchollar wrote:
> You could use a formula like:
>
> =DATE(YEAR(B2)+ROWS($B$1:$B1),MONTH(B2),DAY(B2))
>
> in the worksheet itself.
>
> The VBA function DateSerial works in much the same way as the worksheet
> function Date, if you want a programmatical solution.
>
> Hope this helps!
>
> Richard
>
>
>
> jfcby wrote:
> > Hello,
> >
> > On worksheet2 B2 I have a date formated like 1/1/2006. I need to change
> > that value in yearly increments 1/1/2006, 1/1/2007, 1/1/2008 and so on.
> > How can the date be changed in yearly increments?
> >
> > Thanks for your help in advance,
> > jfcby
|