Hi Guys,
Some one on here very kindly helped me to start a VB script to go in my spread sheet. I have since changed a few things and thought i was getting the hang of things.....Until! i started playing with dates
In my spread sheet i have dates written like 05/02/2011
the following script actions on a yearly basis and only seems to look at the year at a whole, i need it to use the month value.
So if the date in the box is more than one month ago "pass on"
If Target.Column = 14 Then
If Target.Value > "0" Then Target.Offset(0, -5).Value = "Surcharge Letter Sent"
If Target.Value > Date + 1 Then Target.Offset(0, -5).Value = "Pass On"
Im new to VB so i found that quite hard to explain. if anyone could help me out it would be much appreciated!
Cheers
Pickwa
Some one on here very kindly helped me to start a VB script to go in my spread sheet. I have since changed a few things and thought i was getting the hang of things.....Until! i started playing with dates
In my spread sheet i have dates written like 05/02/2011
the following script actions on a yearly basis and only seems to look at the year at a whole, i need it to use the month value.
So if the date in the box is more than one month ago "pass on"
If Target.Column = 14 Then
If Target.Value > "0" Then Target.Offset(0, -5).Value = "Surcharge Letter Sent"
If Target.Value > Date + 1 Then Target.Offset(0, -5).Value = "Pass On"
Im new to VB so i found that quite hard to explain. if anyone could help me out it would be much appreciated!
Cheers
Pickwa