Solved

Add date to cell when another function is completed

Posted on 2014-04-22
3
207 Views
Last Modified: 2014-04-22
I have a workbook (attached and scrubbed) that when I put a value in Col N (Funds Rcvd) AND when there is a value in Col K (USC MC) a function is kicked off.

What I need is that after this function is completed today's date gets input into Col P (Sent for Processing)

ApplicantStatus-Scrubbed.xls
0
Comment
Question by:mabehr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 40014931
Hi,

I suppose you are talking of this part of the code ( see my addition at line 6

    If Range("N" & Target.Row) <> "" And _
        Range("K" & Target.Row) <> "" Then
        If MsgBox("Reply Mail for " & Cells(Target.Row, "C") & ", " & Cells(Target.Row, "B") & " as USD amount entered ?", vbQuestion + vbYesNo, "Send Email") = vbYes Then
            fName = CreateNewCardLoad(Range(Cells(Target.Row, "A"), Cells(Target.Row, "T")))
            SendEmail Range(Cells(Target.Row, "A"), Cells(Target.Row, "T")), Cells(Target.Row, "O"), fName
            Cells(Target.Row, "P") = Date ' my Addition
            Exit Sub
        End If
    End If

Open in new window

Regards
0
 

Author Comment

by:mabehr
ID: 40015161
Thanks, Rgonzo1971. I'll be back in the office later today and will try it out then.
0
 

Author Closing Comment

by:mabehr
ID: 40016664
Worked perfectly, Rgonzo1971. Thank you.

Are you interested in solving another situation I have?
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question