+ Reply to Thread
Results 1 to 8 of 8

MSGbox if cel C17 from active sheet is empty

  1. #1
    Forum Contributor
    Join Date
    03-22-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016-2019
    Posts
    144

    MSGbox if cel C17 from active sheet is empty

    Best forum readers,

    I am looking for the right code that gives a message box if C17 of sheet "Factuur" is still empty.
    After this directly select this cell C17 of sheet "Factuur".

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,854

    Re: MSGbox if cel C17 from active sheet is empty

    Is this what you are looking for?
    Please Login or Register  to view this content.
    Last edited by Mumps1; 02-08-2021 at 10:08 AM.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Contributor
    Join Date
    03-22-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016-2019
    Posts
    144

    Re: MSGbox if cel C17 from active sheet is empty

    Almost, the problem now is that this cell contains a formular and when its empty the code #N/B. In this cell comes an adres when it is selected from a dropdown menu. And when I clear all needed cells then this #N/B code will appear.

    Regards,
    FvdF

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,854

    Re: MSGbox if cel C17 from active sheet is empty

    It would be easier to help and test possible solutions if you could attach a copy of your file. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary). See the yellow banner at the top of this page for instructions to attach a file.

  5. #5
    Forum Contributor
    Join Date
    03-22-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016-2019
    Posts
    144

    Re: MSGbox if cel C17 from active sheet is empty

    I have now added an example. Here I want to get a message "Address is not filled in" if in sheet "Factuur" cell B5 is empty.
    But when it is filled then just continue with sub.

    I hope it is clear now.

    This is a sub where it has to work with.

    Please Login or Register  to view this content.
    Grtz
    Attached Files Attached Files
    Last edited by FvdF; 02-08-2021 at 11:18 AM.

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,854

    Re: MSGbox if cel C17 from active sheet is empty

    Try:
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    03-22-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016-2019
    Posts
    144

    Re: MSGbox if cel C17 from active sheet is empty

    Thanks for this code, it seems to be working well for me.

    With regards
    FvdF

  8. #8
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,854

    Re: MSGbox if cel C17 from active sheet is empty

    You are very welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy active cell to first empty cell in specific column in another sheet
    By Shanks100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-26-2017, 12:21 PM
  2. [SOLVED] Msgbox when Cell is Empty
    By Andrew.Trevayne in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2017, 03:19 AM
  3. Replies: 1
    Last Post: 07-31-2015, 07:06 PM
  4. How to get a MsgBox with no active button
    By Elippam80 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2015, 02:39 PM
  5. VBA if active cell blank than msgbox to remind
    By dekueb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-14-2015, 10:48 AM
  6. Import data from workbook into Active Sheet, and Allow manipulation of WB around MsgBox
    By DaiyannaGrae in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-05-2013, 12:54 PM
  7. MsgBox if the Active Cell is not within a preferred Range
    By Winon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-03-2011, 05:52 AM

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