+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17

Thread: VBA - Custom Filter

  1. #16
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,639
    I'm not sure how you would know which columns you need.
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

  2. #17
    Registered User
    Join Date
    11-25-2008
    Location
    Dublin, Ireland
    Posts
    10
    Quote Originally Posted by royUK View Post
    I'm not sure how you would know which columns you need.

    I need to be able to enter them at runtime... otherwise I'd need several versions...

    For instance... one is A-J, one is A-B + K-M, one is A-B + N-O, etc. etc.

    ("-" means through not minus, btw.)

    It would be cool if there was a way to make presets etc., but there probably isn't... so if I could just say (for example):

    year = 200805
    Columns = a-b, n-o
    name = xrima tpl.csv

    and it would generate a .csv called "xrima tpl" that had every row that had 200805 in Column A with the data from columns a, b, n, m and o.

    Does that make sense?

    So I could choose this stuff at run time every time...

    That's what makes this all so tricky... the super-advanced bit

    Thanks for soldiering on Roy... I really genuinely appreciate it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0