Reminder/ Code VBA

Hello Experts,

Please have look at my attched file. I am looking for reminder pop up when i open excel for the work not done. Pop up should come up when the work status is "NO".

Pop up -Work No...... is not yet done.

Please code for me.


Thank you in advance.
Smith WilliamAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
You didn't actually attach your workbook.
0
Smith WilliamAuthor Commented:
0
Martin LissOlder than dirtCommented:
Do you want the message to list all the "work" values where column "B" is "No"?
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Martin LissOlder than dirtCommented:
Add this code to Thisworkbook.

Private Sub Workbook_Open()
Dim lngLastRow As Long
Dim lngRow As Long
Dim ws As Sheet1
Dim strNo As String

Set ws = Sheets("Sheet1")
With ws
    lngLastRow = .Range("A1048576").End(xlUp).Row
    For lngRow = 6 To lngLastRow
        If Cells(lngRow, "B") = "No" Then
            If strNo = "" Then
               strNo = Cells(lngRow, "A")
            Else
                strNo = strNo & ", " & Cells(lngRow, "A")
            End If
        End If
    Next
End With
MsgBox "Work Numbers " & strNo & " are not yet done."
End Sub

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Martin LissOlder than dirtCommented:
The attached workbook contains a macro that uses better grammar.
29065104.xlsm
0
Smith WilliamAuthor Commented:
Thank you sir. Looks very good. Have a great weekend
0
Martin LissOlder than dirtCommented:
Please don't forget to close the question.
0
Smith WilliamAuthor Commented:
Thank you Sir. It was great CODE.
0
Martin LissOlder than dirtCommented:
You're welcome and I'm glad I was able to help.

If you expand the “Full Biography” section of my profile you'll find links to some articles I've written that may interest you.

Marty - Microsoft MVP 2009 to 2017
              Experts Exchange MVE 2015
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VBA

From novice to tech pro — start learning today.