+ Reply to Thread
Results 1 to 6 of 6

If empty row msg error

  1. #1
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    456

    If empty row msg error

    Hello to all,
    In the attached file, if a row is empty, it must give an error.
    example:
    now row 5 is empty
    I write in row 6 must give error
    Thanks you.
    xam
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-06-2020
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    113

    Re: If empty row msg error

    Please Login or Register  to view this content.
    Paste this code . You can change the column . I have assume COL A here. If ur row 5 is empty and you enter in row 6 it will give an msgbox that above row is empty.
    Do you want to show error msg or restrict user from entering information ?

  3. #3
    Forum Contributor
    Join Date
    03-06-2020
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    113

    Re: If empty row msg error

    The below code will undo if u write in row 6 and will select 5 and display msg. Here is the code
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    03-06-2020
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    113

    Re: If empty row msg error

    Ur target range is A:L i suppose . The below code will find the first empty row in column and take you there . It will also undo ur entry. Cheers

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    456

    Re: If empty row msg error

    Hi thebeastslayer thanks you.
    I think it is exactly as I ask.
    i have to try next week
    A greeting
    xam

  6. #6
    Forum Contributor
    Join Date
    03-06-2020
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    113

    Re: If empty row msg error

    Ok let me know if works.

+ 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. [SOLVED] Using macro to find first empty cell in column. If range is empty returns error.
    By A440 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-23-2019, 11:03 AM
  2. Show cell empty if result is an error due to empty source
    By jackmcguigan1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2016, 09:54 AM
  3. [SOLVED] Error when averaging empty & non empty cells
    By simonlblea in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-09-2013, 09:04 AM
  4. Error Handling (Value Empty)
    By Macro1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2010, 05:19 AM
  5. [SOLVED] error: cannot empty the Clipboard
    By Jane in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 12-29-2005, 04:10 PM
  6. Fixing a sorting error for empty rows (error '1004')?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:20 PM
  7. Fixing a sorting error for empty rows (error '1004')?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:17 PM

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