+ Reply to Thread
Results 1 to 2 of 2

Error checking of visible filtered data - Display text in textbox if no data visible

  1. #1
    Registered User
    Join Date
    10-23-2012
    Location
    china
    MS-Off Ver
    Excel 2010
    Posts
    12

    Error checking of visible filtered data - Display text in textbox if no data visible

    Hi all,

    I tried to do error checking of filtered data. If there's no visible data filtered, i wanted it to display " No data visible for your selection" .

    Here is my attempt in doing it. But the problem is, when there's no visible data filtered, the code doesnt display " No data visible for your selection" instead it still goes to ELSE condition.

    Could anyone help me with this? Thanks in advance.


    Please Login or Register  to view this content.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Error checking of visible filtered data - Display text in textbox if no data visible

    Hi, cocobean,

    check for the last visible row in the sheet and if the value is greater or equal to 3. If no data is filtered/displayed the rows for the heading still will be made for a range so that there will always be a range by your check even if the range just consists of the heading.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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