I will try, but I need a bit more detail as to what you are alluding to.

Signature
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
it was the DateSerial line - took me about 45 to figure it out but i
got it.
thank you thank you.
I am working on error handling, for fields with text and blank fields
- if you would be so kind as to point me in the right direction I
would like to give it a try.
On May 21, 7:08 am, "Bob Phillips" <bob....@somewhere.com> wrote:
> It is probably that the DateSerial line has got wrapped into two lines in
> the post.
[quoted text clipped - 88 lines]
>
> - Show quoted text -
Thanks again, it was the ser
BigLar86@gmail.com - 22 May 2008 13:27 GMT
> I will try, but I need a bit more detail as to what you are alluding to.
>
[quoted text clipped - 114 lines]
>
> - Show quoted text -
Sorry about that - it works great for all cells with date - but i have
a blank cell it formats as date and puts the 1900 date in there. Also
if a cell has text it throws an error of data type mismatch. Any help
would be appreciated.
lar.
Bob Phillips - 24 May 2008 00:46 GMT
Public Sub ProcessData()
Dim cell As Range
For Each cell In ActiveSheet.UsedRange.Cells
If cell.Value <> "" Then
If Month(cell.Value) <= 9 Then
cell.Value = DateSerial(Year(cell.Value) + 1, _
Month(cell.Value), _
Day(cell.Value))
End If
End If
Next cell
End Sub

Signature
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
On May 22, 2:46 am, "Bob Phillips" <bob....@somewhere.com> wrote:
> I will try, but I need a bit more detail as to what you are alluding to.
>
[quoted text clipped - 115 lines]
>
> - Show quoted text -
Sorry about that - it works great for all cells with date - but i have
a blank cell it formats as date and puts the 1900 date in there. Also
if a cell has text it throws an error of data type mismatch. Any help
would be appreciated.
lar.
BigLar86@gmail.com - 25 May 2008 02:31 GMT
> Public Sub ProcessData()
> Dim cell As Range
[quoted text clipped - 153 lines]
>
> - Show quoted text -
Sweet - thank you very much!