+ Reply to Thread
Results 1 to 2 of 2

How to use autofilter in vbscript

  1. #1
    Registered User
    Join Date
    10-06-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    4

    Post How to use autofilter in vbscript

    Hello All
    I am stuck with my code. I am trying to auto-filter a worksheet on certain criteria(i.e. "desktop", "notebook", "tablet") - and get the output as you would get using filter in the excel sheet. And trying to delete all the columns in the excel sheet except two of them based on their column header (for example: if the column headers are "serial number" and "product id" I would like to delete all the columns except the two columns which has these column headers). Here is me code, could you please check the code and I appreciate if any one can guide me.

    Please Login or Register  to view this content.
    The above code is not working!!!!!!!!
    Thankx
    Rashme
    Last edited by Rashme; 10-06-2011 at 01:27 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Need help in vbscript

    Welcome to the forum.

    Please take a few minutes to read the forum rules, correct your code tags, and change the title of your thread to describe your problem.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

+ 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