+ Reply to Thread
Results 1 to 2 of 2

Counting the number of occurences of a range name in a workbook

  1. #1
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    593

    Counting the number of occurences of a range name in a workbook

    Hello,
    I have copied a worksheet within a workbook several times.
    The worksheet had a range named "MyRange"; As I copied the worksheets within the workbook, I ended up with multiple ranges with the name "MyRange".

    I need a macro which could count how many times the "MyRange" appears in the workbook and display it in a message box along with the corresponding worksheet names.

    Please advise.
    Thanks !

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Counting the number of occurences of a range name in a workbook

    Hi plans,

    Try this:

    Please Login or Register  to view this content.
    Regards,

    Robert
    Last edited by Trebor76; 12-07-2018 at 10:12 PM.
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

+ 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. Counting all occurences of one number over multiple sheets.
    By Melmo1981 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-20-2013, 06:24 PM
  2. [SOLVED] Counting the number of occurences of text
    By kelevra in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-12-2013, 11:25 AM
  3. Counting number of occurences specific date in range of cells in a table
    By jzzman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2009, 01:47 AM
  4. counting the number of occurences of a character in string
    By tryer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-31-2009, 08:16 AM
  5. Counting number of occurences in column
    By obnoxs32 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-10-2008, 01:01 AM
  6. Counting Unique Occurences in a Range
    By ShredDude in forum Excel General
    Replies: 3
    Last Post: 07-14-2007, 02:07 PM
  7. [SOLVED] counting occurences in data range (e.g 31-60)
    By Chuck in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-28-2006, 09:15 AM
  8. [SOLVED] Counting Number of Occurences
    By Darren in forum Excel General
    Replies: 1
    Last Post: 02-23-2005, 12:06 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