+ Reply to Thread
Results 1 to 4 of 4

vba count number of string in a sheet name

  1. #1
    Forum Contributor thameem127's Avatar
    Join Date
    04-06-2012
    Location
    Jeddah,Saudi Arabia
    MS-Off Ver
    Excel 2003,Excel 2007
    Posts
    321

    vba count number of string in a sheet name

    Dears

    I am looking for your help.I need a vba code to count number of string in a sheet name.

    Regards

    Thameem

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: vba count number of string in a sheet name

    If the sheet name is composed of a number of strings (or words) then:

    Please Login or Register  to view this content.
    will count the number of strings.
    Gary's Student

  3. #3
    Forum Contributor thameem127's Avatar
    Join Date
    04-06-2012
    Location
    Jeddah,Saudi Arabia
    MS-Off Ver
    Excel 2003,Excel 2007
    Posts
    321

    Re: vba count number of string in a sheet name

    Thanks for your help.
    My activesheet name is March that means 5 character string. I run your code and shows msgbox 1.

  4. #4
    Forum Contributor thameem127's Avatar
    Join Date
    04-06-2012
    Location
    Jeddah,Saudi Arabia
    MS-Off Ver
    Excel 2003,Excel 2007
    Posts
    321

    Re: vba count number of string in a sheet name

    Yes. I did it.I found answer

    Here is the code

    Please Login or Register  to view this content.
    Last edited by thameem127; 03-17-2013 at 08:59 AM. Reason: code tags

+ 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