+ Reply to Thread
Results 1 to 4 of 4

If Cell Value = Error, show MsgBox

Hybrid View

  1. #1
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: If Cell Value = Error, show MsgBox

    May be this....

    Private Sub Worksheet_Calculate()
    
    If IsError(Range("Z18").Value) Then
        If MsgBox("If MsgBox(Reference not found! Do you want to add it to database?", _
        vbYesNo + vbQuestion, "Update file to Management") = vbNo Then Exit Sub
    
        UserForm1.Show
    End If
    
    End Sub


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  2. #2
    Forum Contributor pipoliveira's Avatar
    Join Date
    08-09-2012
    Location
    Ireland
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    368

    Smile Re: If Cell Value = Error, show MsgBox

    Thanks a million Sixthsence,

    That worked and was so simple.

    I'm really appreciated for your very fast help

    Best regards,
    Filipe Oliveira

+ 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