Results 1 to 4 of 4

Macro to check the empty Cells in a row before closing the file

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-04-2012
    Location
    Czech Republic
    MS-Off Ver
    MS 365
    Posts
    260

    Cool Macro to check the empty Cells in a row before closing the file

    Hi everyone :-)

    I have a tricky question - do you know, if there is a possibility to have macro which will check my cells in one specific column before file is closed? Could anyone help me to update macro as follows:

    - to see in message box in which row is empty cell
    - to show message before file is closed when "Close File" button is pressed? So when I close the excel file message will pop up?

    My macro is:

    Sub IsCellBlank()
    If IsEmpty(Range("AD")) Then
    MsgBox "Empty cell in row 125. Please correct and chose the right root cause"
    End If
    End Sub


    Thank you lot

    Andy :-)
    Last edited by dobracik; 07-09-2013 at 03:04 PM.

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