+ Reply to Thread
Results 1 to 4 of 4

Fourth digit selection with macro

  1. #1
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    Fourth digit selection with macro

    Hi,

    i would like to take only the fourth digits and what there is after. here an example: 053133348. I would like to be able that excel start from the first character and filter based on the fourth digit only...So basicly, the macro would reconize that there is always 3 digits BEFORE the fourth one..and based on the fourth digital, he would then filter what's left..i am thinking about something like this: ***13040404 or ***2393994. The final goal is to filter datas based on number 1-9...


    Any help?

    here is my VBA

    Please Login or Register  to view this content.
    Last edited by extremis; 05-16-2013 at 11:52 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645
    Add another column with a formula to extract from the 4th digit on and then filter on that column.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    Re: Fourth digit selection with macro

    Doing this would imply that I need to modify other macro attached to other column!!!

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645
    What macro would that be and why would it need to be modified?

+ 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