I want to format date cells for the 15th of every month..

G

Guest

I am making a spread sheet by month receiving payments on the 15th. How do I
format the cell to account for a 31 day month vs. a 30 day month.

Thanks.
 
B

Bob Phillips

How about

For i = 1 To 12
Cells(i,"A").Value = dateSerial(Year(Date),i,15)
Next i

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top