Maries, You are most welcome Don Guillett SalesAid Software dguille...@gmail.com
From: Maries Sent: Tuesday, February 28, 2012 9:21 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ If I input Letter Y is should show the current date.......(28-Feb-2012) like this...... Hi Don, You made it simple... Thanks. On Tue, Feb 28, 2012 at 6:37 PM, dguillett1 <dguille...@gmail.com> wrote: That will change tomorrow with the next calculation Don Guillett SalesAid Software dguille...@gmail.com From: hilary lomotey Sent: Tuesday, February 28, 2012 7:53 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ If I input Letter Y is should show the current date.......(28-Feb-2012) like this...... try this also =IF(A2="Y",TEXT(TODAY(),"dd-mmm-yyyy"),"") On Tue, Feb 28, 2012 at 1:28 PM, dguillett1 <dguille...@gmail.com> wrote: Right click sheet tab>view code> insert this Now whenever you input y or Y in col B, col A will get the date Private Sub Worksheet_Change(ByVal Target As Range) If Target.Count > 1 Or Target.Column <> 2 Then Exit Sub If UCase(Target) = "Y" Then Target.Offset(, -1) = Date End Sub Don Guillett SalesAid Software dguille...@gmail.com From: Mohammed Muneer Sent: Monday, February 27, 2012 9:55 PM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ If I input Letter Y is should show the current date.......(28-Feb-2012) like this...... Dear Friends have a nice day, I have a small question. For example, I have two cols A and B as shown below one is for date & the other have letter “Y”. A B 28-feb-2012 Y Can I do it like this? If I input letter “Y” in the column B I can display the current date. Regards, Muneer, CC... -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com