PC Review


Reply
Thread Tools Rate Thread

Change Dates

 
 
=?Utf-8?B?QWFyb24=?=
Guest
Posts: n/a
 
      16th Nov 2006
Hello,

Needing code that looks at a Column B on Tab "123" and if there are any
dates < todays date then change to todays date.

Thanks,
Aaron
 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      16th Nov 2006
Sub fixdate()
For Each c In Range("b2:b22")
If IsDate(c) And c < Date Then c.Value = Date
Next
End Sub

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"Aaron" <(E-Mail Removed)> wrote in message
news:C086EFE4-A5C9-4271-9113-(E-Mail Removed)...
> Hello,
>
> Needing code that looks at a Column B on Tab "123" and if there are any
> dates < todays date then change to todays date.
>
> Thanks,
> Aaron



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the dates? Samantha Microsoft Excel Programming 1 23rd Jun 2008 10:47 PM
Change Start Dates without Changing Due Dates Beth Microsoft Outlook Discussion 0 19th Aug 2004 03:44 PM
CHANGE DATES =?Utf-8?B?TUU=?= Microsoft Excel Worksheet Functions 1 3rd Feb 2004 11:21 PM
change the expiration, as would do to change those dates? Frank Dulk Microsoft Access Form Coding 0 3rd Feb 2004 01:43 AM
change the expiration, as would do to change those dates? Frank Dulk Microsoft Access Forms 0 3rd Feb 2004 01:43 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:35 AM.