Date formatting Help

  • Thread starter Thread starter Db1712
  • Start date Start date
D

Db1712

This did not seem to work...it returned errors..I'm missing a step

Application.Run
Range("F54:H54").Select
Selection.Sum
Cell.Value +7
End Sub
 
All you need is

For Each cell In Range("F54:H54")
If Weekday(cell.Value) =1 Then
cell.Value = cell.Value + 7
End If
Next cell

--

HTH

RP
(remove nothere from the email address 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

Back
Top