+ Reply to Thread
Results 1 to 9 of 9

POP UP message creation

  1. #1
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    POP UP message creation

    Hi All,
    I want to create a pop up message showing count of cells turned red,each time the workbooked are opened.like column "I" has two dates in red colour,so the pop up will say
    "you have 2 contracts expired"
    Attached Files Attached Files
    Last edited by arnab0711; 02-23-2010 at 12:48 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: POP UP message creation

    Given the "red cells" simply equate to count of Today I would suggest you run a COUNTIF (of Date / Today() pending which route you take) via the Open Event against whichever ranges are of interest.

  3. #3
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Re: POP UP message creation

    I am not able to do that,can you help me please

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: POP UP message creation

    Well it's not clear if you need to test multiple ranges or just Column I on KolWB sheet but in the most basic of terms:

    Please Login or Register  to view this content.
    the above would reside in ThisWorkbook object in VBEditor.

  5. #5
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Re: POP UP message creation

    Thanks for the reply,but the only thing I want is on file open,the comment should be shown,and the comment will be "the # of contracts expired are contract #"

  6. #6
    Valued Forum Contributor
    Join Date
    05-14-2009
    Location
    gold coast
    MS-Off Ver
    Excel 2007
    Posts
    843

    Re: POP UP message creation

    hello,

    I think What DO has suggested may be the simplest solution and doesnot over complacate things.

    You could try either of these. You can only have one Private Sub Workbook_Open() in the workbook at a time.
    Please Login or Register  to view this content.
    Take a look and try the suggested highlighting and simgle msgbox

    hope this helps

    cheers


  7. #7
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Re: POP UP message creation

    Hi,I am getting this error "Invalid or unqualified reference" on first formula
    and nothing is happening in the second formula

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: POP UP message creation

    The first code should just be:

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Re: POP UP message creation

    Thanks,its working now

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1