+ Reply to Thread
Results 1 to 2 of 2

Message Box to display rows count of filtered sheet

  1. #1
    Registered User
    Join Date
    02-21-2019
    Location
    STL
    MS-Off Ver
    2013
    Posts
    10

    Message Box to display rows count of filtered sheet

    I have this code below that opens a file and filters some data. What I would like to happen is that a pop up box displays after filtering to tell me how many visible rows (minus the header) there are. This code gives me an Error on the "MsgBox" line saying "Compile Error: Argument not optional"

    Any help is greatly appreciated!

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Message Box to display rows count of filtered sheet

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.


    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. VBA code to display a message when Filtered range is empty and skip the operation
    By rshnkmr39 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2015, 04:53 AM
  2. [SOLVED] Count the number of filled rows in sheet 1 and display in sheet 2. Please help
    By krishnaa_kumarr88 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-02-2014, 07:59 AM
  3. [SOLVED] Macro to count unique values in a column with pop up message box - sheet will be filtered
    By excel151515 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2014, 10:53 AM
  4. Macro to count rows on multiple sheets and display in message box
    By Cupragsw in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-03-2013, 09:54 AM
  5. [SOLVED] count rows and display the number in the Sheet's text?
    By AlienPump in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-30-2012, 03:42 AM
  6. How can the count of filtered records always display?
    By Robert Bushman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2005, 06:20 PM
  7. How can the count of filtered records always display?
    By Robert Bushman in forum Excel Formulas & Functions
    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