Multiple filter in Excel by applescript

Hi All,
I wanna multiple filter in excel by applescript
excel format like below, filter gender is "F", Happy is "N", Name is "Jack","Mary","Lynn", "Sue". I can filter gender is "F" and Happy is "N" and work fine. How to do the next? Thanks a lot.
Name
1day
2day
3day
gender
Happy
Jack
4
745
98
M
Y
Jack
3
2
1
M
N
Jack
5
7
8
F
N
Leo
44
144
44
M
N
Leo
441
1456
5
M
Y
Mary
5
1236
43
F
N
Lynn
66
24
123
F
N
Mark
124
123
6
M
N
Ella
6
56
3
F
Y
Ella
6
234
4
F
N
Sue
1
1
1
F
N
Sue
61
4
2
F
N
Dave
5
5
5
M
Y
Wed
7
9
11
F
N
Lily
7
77
44
F
N
I wrote script like below
tell application "Microsoft Excel"
  activate
          set RG_Row_2 to range "1:1"
      set LastColumn_Index to text 2 of (get address of (get offset of (get end range "A1" direction toward the right) column offset 1)) as text
          set Working_Range to range ("A:" & LastColumn_Index)
          set SKU_Index to get first column index of (find (RG_Row_2) what "Happy")
  autofilter range Working_Range field SKU_Index criteria1 "=N"
          set SKU_Index1 to get first column index of (find (RG_Row_2) what "gender")
  autofilter range Working_Range field SKU_Index1 criteria1 "=F"
end tell
-----Next is to filter Name is "Jack","Mary","Lynn", "Sue". I try to use advanced filter but failed, anyone can help? Thanks in advance.
tell application "Microsoft Excel"
  activate
          set RG_Row_2 to range "1:1"
          set LastColumn_Index to text 2 of (get address of (get offset of (get end range "A1" direction toward the right) column offset 1)) as text
          set Working_Range to range ("A:" & LastColumn_Index)
          set SKU_Index to get first column index of (find (RG_Row_2) what "Happy")
  autofilter range Working_Range field SKU_Index criteria1 "=N"
          set SKU_Index1 to get first column index of (find (RG_Row_2) what "gender")
  autofilter range Working_Range field SKU_Index1 criteria1 "=F"
          set value of range "G1:G5" to {{"Name"}, {"=\"=Jack\""}, {"=\"=Mary\""}, {"=\"=Lynn\""}, {"=\"=Sue\""}}
  advanced filter Working_Range action filter in place criteria range "G1:G5"
end tell

autofilter range is only used when you have simple comparisons to make.  You can't build different autofilter range commands into a complex filter.  just use the advaced filter command once, with proper criteria.
For clarity, I've moved the test data down to cell A10 and added the criteria in at cell A1.  This is what the data and criteria range should look like for the advanced filter to work:
Name
Happy
gender
=Jack
N
F
=Mary
=Lynn
=Sue
Name
1day
2day
3day
gender
Happy
Jack
4
745
98
M
Y
Jack
3
2
1
M
N
Jack
5
7
8
F
N
Leo
44
144
44
M
N
Leo
441
1456
5
M
Y
Mary
5
1236
43
F
N
Lynn
66
24
123
F
N
Mark
124
123
6
M
N
Ella
6
56
3
F
Y
Ella
6
234
4
F
N
Sue
1
1
1
F
N
Sue
61
4
2
F
N
Dave
5
5
5
M
Y
Wed
7
9
11
F
N
Lily
7
77
44
F
N
here is the applescript code:
tell application "Microsoft Excel"
  activate
  -- get the range for the data in the main list
          set Working_Range to current region of cell "A10"
  -- create the criteria list programmatically
          set value of range "A1:C5" to {{"Name", "Happy", "gender"}, {"=\"=Jack\"", "N", "F"}, {"=\"=Mary\"", "", ""}, {"=\"=Lynn\"", "", ""}, {"=\"=Sue\"", "", ""}}
  -- get the range for the data in the criteria list
          set Criteria_Range to current region of cell "A1"
  -- filter
  advanced filter Working_Range action filter in place criteria range Criteria_Range
end tell

Similar Messages

  • Multiple filter for cube drill through

    Hi,
    I am using MS-Analysis service 2012 to develop cube and office 2013 to browse the cube data.
    I knew that drill through action will not work for Excel 2007 and below if the user selected  multiple filter. is there any option available for Excel 2o12?
    It is very important for our client to have multiple filter and drill through the details.
    Please help..
    Thanks
    Jithesh

    Hi Jithesh,
    As Marco said, SQL Server Analysis Services doesn't support multiselect drillthrough statements currently. Here are some suggestions on the similar thread, please see:
    http://social.technet.microsoft.com/Forums/en-US/c7a9fb45-54a3-45a9-bbb0-5be277e7d125/filtering-on-multiple-items-is-disabling-custom-drill-through-actions?forum=sqlanalysisservices
    If this is not what you want, I am afraid there is no other approach to workaround this. If you have any concerns about this feature, you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product. Your feedback enables Microsoft to make software and services the best that
    they can be, Microsoft might consider to add this feature in the following release after official confirmation.
    Thank you for your understanding.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Show Multiple Filter Values in a Web Template

    Hello
    I have a Web Template based on a query. On this Web Template I can set multiple single filter values for one characteristic.
    Now I want to show these filtered values for this characteristic on the web item. This is possible for ONE filter value when you use the XML path (f.e. DATA_PROVIDER:DP1?/BICS_VIEW/SELECTION_STATE/SELECTION/CHARACTERISTICS/CHARACTERISTIC[@name='CHARNAME']/SELECTIONS/SELECTION[1]/MEMBER/@text)
    Is there a possibility to show MULTIPLE filter values for one characteristics in a text or input field? I don't want to use a drop down box or the info field.
    Kind Regards,
    Andreas

    HI,
    the best ay to do is create a query with same variable parameters as of the main query and place filter Characters on rows.
    Use this query in one analysis item and use it on top row of the template as Filters information.This will give better look and feel as well solve your requirement

  • When converting multiple word and excel docs to a combined PDF random pages have blue background in the finalized PDF.

    I have a user using Acrobat 10. It was installed two weeks ago and initially had no problems. Today she reported that when she tries to convert multiple word and excel docs by selecting them, and right clicking on them to select convert/combine to PDF, random pages in the finished PDF have a blue background. I did some searching online and can find no information about this problem. Can anyone here shed some light on this issue and maybe point me in the direction of a solution? Any help is appreciated. Thanks!

    Hi Gilad,
    So, something I didn't consider was that this could be a setting in the office docs. The reason I didn't consider this was be cause we tested multiple docs and had similar results each time. I went back and looked into this possibility and found a setting in word that was causing this issue. Although the word doc showed no page color when opened in word, if I went to "Page Layout" -> "Page Color", a shade of blue was selected. By selecting "No Color", and then converting/combining the docs to PDF we got the desired result. Thanks again for your reply!

  • Export SQL Server Table into Multiple Sheets in Excel

    I'm trying to understand the example here.
    http://visakhm.blogspot.in/2013/09/exporting-sqlserver-data-to-multiple.html
    Basically, I'm up to step #5.
    5. Data Flow Task to populate the created sheet with data for that subject. The Data Flow looks like below
    I don't understand this part.  Has anyone worked with this sample before?  Has anyone gotten this to work?  I'm trying to learn SSIS better, but I'm finding it hard to get started with this stuff.  I guess if I get a couple projects under
    my belt, I'll be fine.  The hardest part is getting started.
    If anyone feels really ambitions today, maybe you can assist me with two other projects as well.
    #1)
    http://visakhm.blogspot.in/2011/12/simulating-file-watcher-task-in-ssis.html
    #2)
    http://sqlage.blogspot.in/2013/12/ssis-read-multiple-sheets-from-excel.html
    http://beyondrelational.com/modules/24/syndicated/398/Posts/18163/ssis-how-to-loop-through-multiple-excel-sheets-and-load-them-into-a-sql-table.aspx
    I'd greatly appreciate any help I can get with this.
    Thanks!!
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Hi Ryguy72,
    The solution introduced in Visakh’s blog does work. I have written the detailed steps for you:
    1. Create an Excel file (Des.xls) as the destination file, rename the Sheet1 to “Excel Destination”, and add four columns: ID, Name, Subject, and Marks.
    2. Create an Object type variable Subject, a String type variable SheetName, and a String type variable WorkSheetQuery.
    3. Set the value of variable SheetName to “Excel Destination$”, and set the expression of variable WorkSheetQuery to:
    "CREATE TABLE `" + @[User::SheetName] + "` (
    `ID` Long,
    `Name` LongText,
    `Subject` LongText,
    `Marks` Long
    4. In the Execute SQL Task outside the Foreach Loop Container, set its General tab as follows:
    ResultSet: Full result set
    ConnectionType: OLE DB
    Connection: LocalHost.TestDB (e.g. an OLE DB Connection to the source SQL Server table)
    SQLSourceType: Direct input
    SQLStatement: SELECT DISTINCT [Subject] FROM [TestDB].[dbo].[DynamicExcelSheetDemo]
    5. In the Result Set tab of this Execute SQL Task, map result “0” to variable “User::Subject”.
    6. In the Collection page of the Foreach Loop Container, set the Enumerator option to “Foreach ADO Enumerator”, and set the “ADO object source variable” to “User::Subject”.
    7. In the Variable Mapping page of the container, map variable “User::SheetName” to index “0”.
    8. Create an OLE DB Connection Manager to connect to the destination Excel file. Choose the provider as Native OLE DB\Microsoft Jet 4.0 OLE DB Provider, specify the fully qualified path of the Excel file (such as C:\Temp\Des.xls), and set the Extended Properties
    option of the Connection Manager to “Excel 8.0”. Click “Test Connection” button to make sure the connection is established successfully.
    9. Set the General page of the Execute SQL Task inside the container as follows:
    ResultSet: None
    ConnectionType: OLE DB
    Connection: Des (e.g. the OLE DB Connection to the destination Excel file we create above)
    SQLSourceType: Variable
    SQLStatement: User::WorkSheetQuery
    10. In the Data Flow Task, add an OLE DB Source component, set the connection manager to “LocalHost.TestDB”, set “Data access mode” to “SQL command”, and set the “SQL command text” to:
    SELECT * FROM [TestDB].[dbo].[DynamicExcelSheetDemo] WHERE [Subject]=?
    11. Click the “Parameters…” button, and map Parameter0 to variable “User::SheetName”.
    12. Add an Excel Destination component, setup an Excel Connection Manager to the destination Excel file, set the data access mode to “Table name or view name variable”, and select variable name as “User::SheetName”. In this way, the OLE DB Provider can get
    the Excel metadata and enable us to finish the column mappings correctly.
    13. Since the Microsoft Jet 4.0 has only 32-bit driver, please make sure to set the Run64BitRuntime property of the IS project to False.
    In addition, please note that there will be one useless worksheets “Excel Destination” in the Excel file. We can remove them manually or use a Script Task to delete this worksheet programmatically (need to install .NET Programmability Support feature during
    Office installing).
    Regards,
    Mike Yin
    TechNet Community Support

  • How to - Select Multiple Filter Values w/o Navigation ability

    Just FYI, I had a requirement to allow users to select multiple characteristic filter values.  Something like a capabilities a combo box would afford us.
    To do this just use a Generic Nav Block Web Item and in the Web Item configuration just uncheck the "Display Navigation Icons". 
    It gives them the ability to select multiple filter values without all the Drill up/down capabilities.

    You can use multiple filter options using the web item dropdwon box.
    There is a How to document available in the BW 2.0B section for this..link below.
    https://websmp206.sap-ag.de/~sapdownload/011000358700003825382001E/HOWTOMULTIPLESELECTION.DOC
    Thanks.

  • MULTIPLE WORKSHEETS PER EXCEL WORKBOOK USING XSLT

    Hi everybody,
    My query is on how multiple worksheets per excel file can be created using xslt programming.
    From my report program i call the xslt transformation passing an internal table. Based on the changes in the values of a particular field in the table, multiple worksheets are to be created in a single excel file.
    A snippet of the code ive generated is displayed below .But i get the error saying its unable to open the file. I need to know where exactly to place the <for-each select> and <worksheet> statements in order to successfully implement the solution. Would greatly appreciate any help offerred in this direction. Thanks
    <xsl:template match="/">
    <workbook>
    <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
          </ExcelWorkbook>
            <xsl:apply-templates />
    </Workbook>
    </xsl:template>
    <xsl:template match="asx:values">
    <xsl:for-each select="ROWS/ZWORKSHEET">
    <Worksheet ss:Name="FIRSTCOL">
      <Table ss:ExpandedColumnCount="10" x:FullColumns="1"
       x:FullRows="1" ss:DefaultColumnWidth="66" ss:DefaultRowHeight="14.25">
        <Row xmlns="urn:schemas-microsoft-com:office:spreadsheet"
             xmlns:o="urn:schemas-microsoft-com:office:office"
             xmlns:x="urn:schemas-microsoft-com:office:excel"
             xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
             xmlns:html="http://www.w3.org/TR/REC-html40">
          <Cell ss:StyleID="s23"><Data ss:Type="String">SAP Material Number</Data></Cell>
          <Cell ss:StyleID="s23"><Data ss:Type="String">CLP</Data></Cell>
        </Row>
      </Table>
      </Worksheet>
    </xsl:for-each>
    </xsl:template>
    </xsl:transform>

    If the Sales Org values are static, you shold be able to create a variant.  Don't know off what the variable name is off the top of my head, but there should be a variable delivered as part of business content that obtains the current month - look at the 0CALMONTH variables. (May be something like 0CMONTH ?)If you don't see it, maybe that variable activated yet.
    Does just one person run this workbook or are many people?
    If you schedule the query with reporting agent, you should be able to warmup (load the results)to the OLAP cache so when the user runs the querys later, they'll run very quickly, retrieving the data from the OLAP cache.  BEx Broadcaster is a good option too if the criteria for the queries are all known upfront.
    Message was edited by: Pizzaman
    Fogo to ask - are you using hierarchies in the query?  They can have a lot of perfromance impacts on the front end interms of rendering them in Excel.  There are some Front End patches that speed this up quite a bit.

  • Data filter in Excel 2013 disappears when Excel is reopened

    I recently upgraded from Office 2010 to Office 2013.  Unlike the previous versions of Excel, the data filter in Excel 2013 disappears.  Save the Excel with filters applied, close and reopen
    the file, filter is not retained.  Even the filter mark is not to be seen.  Not sure if its a bug,
    but there are other tiny such bugs were encountered in 2013 Excel.

    Hi,
    Based on my test, Data filter does not lost when we re-open the file in Excel 2013. Thus, I think it is not a bug. Thus, please provide us more information to assist you better.
    Did this issue occur with the previous file that created with Office 2010?
    Have you tried to re-create a new file to test?
    If this issue occur only with the previous file that created with Office 2010, this issue might be caused by the file compatibility, pleases use compatibility checker to update the files:
    https://support.office.com/en-ca/article/Check-file-compatibility-with-earlier-versions-d9856881-5875-4c58-915f-06859b2943a7
    If this issue occur with all files even with a new file, please try to repair Office 2013.
    Hope it's helpful.
    Thanks
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • How to export the data to Multiple sheet in Excel

    Hi,
    How can I export the data to multiple sheets in excel using Crystal Report XI.
    Thanks,
    Baski.
    Edited by: J_Baskaar on Mar 31, 2010 8:14 AM

    One of the 3rd-party Crystal report schedulers listed at http://www.kenhamady.com/bookmarks.html allows you to burst a report so that each group at level 1 becomes a separate worksheet inside a single workbook.

  • Data download to multiple sheets in Excel without using OLE

    Hi,
    Please let me know if it is possible to download data to multiple sheets in excel without using OLE method
    I am in SRM system and the OLE methods are not working
    Please share some sample code or reference links if any
    Thanks
    SekharJ
    Edited by: SekharJ on Sep 8, 2009 8:43 AM

    Here is my code
      LOOP AT it_final INTO wa_final.
        AT FIRST.
          l_ixml = cl_ixml=>create( ).
          l_document = l_ixml->create_document( ).
          l_element_flights  = l_document->create_simple_element(
                      name = 'PO_Details'
                      parent = l_document ).
        ENDAT.
        l_element_airline  = l_document->create_simple_element(
                    name = 'PO'
                    parent = l_element_flights  ).
        l_value = wa_final-object_id.
        l_rc = l_element_airline->set_attribute( name = 'Objectid' value =
                                                             l_value ).
        l_value = wa_final-description.
        l_rc = l_element_airline->set_attribute( name = 'Description' value =
                                                             l_value ).
        l_value = wa_final-number_int.
        l_rc = l_element_airline->set_attribute( name = 'Item' value =
                                                             l_value ).
        l_value = wa_final-description1.
        l_rc = l_element_airline->set_attribute( name = 'Description1' value =
                                                             l_value ).
        l_value = wa_final-quantity.
        l_rc = l_element_airline->set_attribute( name = 'Quantity' value =
                                                             l_value ).
        l_value = wa_final-capex.
        l_rc = l_element_airline->set_attribute( name = 'Capex' value =
                                                             l_value ).
        l_value = wa_final-ser_num.
        l_rc = l_element_airline->set_attribute( name = 'SerialNo' value =
                                                             l_value ).
        l_value = wa_final-plant.
        l_rc = l_element_airline->set_attribute( name = 'Plant' value =
                                                             l_value ).
        l_value = wa_final-loc.
        l_rc = l_element_airline->set_attribute( name = 'Location' value =
                                                             l_value ).
        l_value = wa_final-bundle.
        l_rc = l_element_airline->set_attribute( name = 'Bundle' value =
                                                             l_value ).
      ENDLOOP.
      l_streamfactory = l_ixml->create_stream_factory( ).
      l_ostream = l_streamfactory->create_ostream_itable( table =
    l_xml_table ).
      l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                            document = l_document ).
      l_rc = l_renderer->render( ).
      l_xml_size = l_ostream->get_num_written_raw( ).
        CALL METHOD cl_gui_frontend_services=>gui_download
          EXPORTING
            bin_filesize = l_xml_size
            filename     = 'c:\temp\flights.xlsx'
            filetype     = 'BIN'
          CHANGING
            data_tab     = l_xml_table
          EXCEPTIONS
            OTHERS       = 24.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Edited by: SekharJ on Sep 8, 2009 12:04 PM
    Edited by: SekharJ on Sep 8, 2009 12:15 PM

  • Opening Files in Multiple Instances of Excel 2010

    I've been using multiple instances of Excel 2003 using two monitors for a long time using Windows XP.  I used to do this by opening Excel and opening Excel again from the Start menu and opening files through windows explorer and controlling which instance
    of Excel it would open because it opens based on the recent active Excel instance. For example, I open Excel program instance #1 and then I open Excel program instance #2.  If I click on the Excel program 1 and then go to windows explorer and open
    a file, it will open on Excel program instance #1.  If I click on instance #2 then open a file, it will open on instance #2. 
    However, now I have Windows 7 Pro with Excel 2010.  At first, it would ALWAYS open the file in the first instance of Excel whenever I opened a file from windows explorer.  I found some registry edits that will open a file in a new instance of Excel
    EVERY time. I don't really like either solution.  I want to control the number of Excel instances and determine which instance I want the file to open.  I know I can do this via the Open/File menu in Excel but it's a much more onerous
    way.  I would like to know if there is a way I can make Excel 2010 and Win7 behave the way it did before with Excel 2003 and WinXP.

    Hmm, it seems it´s really hard to undestand, what our problem is all about.
    Even the solution
    http://support.microsoft.com/kb/2636670 isn´t the right answer.
    Ok, i´ll try again:
    - i have 2 Excel-Instances running (can see it with TaskMgr) and i don´t want any
    more Excel-Instances starting
    - for several reasons (data-comparison side-by-side on 2 monitors, etc.), i´d like to control, in which instance
      double-clicked XLS-Documents from Mails, Web-Downloads or (most wanted!) PlSql-Developers
      "Export to Excel"-function should open
    - with Office2003 / WinXP it was very simple: 
    just activate the desired Excel instance before doing
      the double-click or calling the export-function ... the XLS-Document opens exactly in a new window
      of the previously activated Excel-instance
    So it´s not about opening always in new Excel-Instances, therefore all .bat-Solutions or Registry-
    modifications i´ve seen so far wont help. Also the mouse-drag/drop will not work for Web-Downloads
    or Database-Exports, even sometimes not for XLS in Outlook-Mails.
    Yes, i agree:  Win 7 / Office 2010 is a massive downgrade for all users, that need informations on the
    screen (instead of large, fancy icons), that want fast and efficient functionality (instead of clicking around
    through "ribbons" and waiting more than twice a time for same operations, that run in XP/Office2003 simply great)
    After digging the web, experimenting with registry-hacks, etc., i didn´t find any REAL solution.
    That´s why i feel, all those of you (incl. me), that
    have used their machines like described above, have lost.
    Resignated, i wish
    i could switch back to XP/Office2003
    Regards
    CptTom

  • Select and open multiple files in Excel 2013

    In older versions of Excel, I can open several previous files at once by clicking File==> Open and then using the "look in" ==> History option to see my recently openend files. Using the Ctrl key, I can then select three or four recent files
    and then click Open to open them all simultaneously.
    I can't find a similar option for doing this in Office 2013 and it's driving me crazy! Can anyone help?

    Hi,
    As your description, my understanding is that you want to select and open the multiple files in Excel 2013.
    Thus, I tested to use Excel 2010. Click File tab>Click Open Tab or Recent Tab. I could not find "Look in" and "History option ".
    If I want to open the the multiple files, I only conld use open tab and choose one folder to use Ctrl to choose  the multiple files.
    And if I click Recent Tab, I could open one file when I select it. I could not reproduce your steps.
    If you could upload some pictures or more steps informarion in the forum, I’ll be appreciated for you.
    Next, If you want to select and open the multiple files in Excel 2013. I recommend you select the
    Quickly Access This Number of Recent Workbooks check box on the
    Advanced tab of the Excel Options dialog box (right below the Show This Number of Recent Workbooks option) to have Excel display the four most recently opened workbooks as menu items at the bottom of the File menu in the Backstage
    view.
    It'll help you find the 4 recent files quickly.
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click here

  • Exporting data into multiple tabs of Excel from OA Framework Page.

    Hii,
    I have a requirement like exporting data into multiple tabs of Excel from OA Framework.
    Like One Quarter Data should be in one Excel Sheet, and the Second Quarter data should go into other Excel Sheet, like wise ...
    I have tried searching forums, and developers guide, But couldn't find any correct answer on this. If its there on developers guide can somebody point me exactly where it is located.
    If someone can help me through this or can guide me through any document in this. It would be really helpful.
    Thanks
    Prakash.

    I guess, tabs are not supported in XML publisher as well.
    I would be worth checking at with BI publisher forum.
    --Prasanna                                                                                                                                                                                                                                                               

  • Is it possible to paste multiple selections from excel?

    How do you detect in Java whether a multiple selection in excel has been copied to the clipboard.
    For instance: I have an excel spreadsheet - 3 rows x 3 columns. I highlight the first 3 rows in column 1 and the first 3 rows in column 3 then I copy this to the clipboard (ctrl-c). If I now go to a text editor and paste this then the data from all 3 columns, not the expected 2 columns, appears.
    Likewise, in Java I have tried using the clipboard object looking at all the different data flavours to find a way of detecting that only data from the 1st and the 3rd columns were copied. But I can't find a way.
    This is most likely a microsoft issue in that they never make this information available from the clipboard.
    Can anyone shed any light on this one?

    Use the setSelectionMode(ListSelectionModel.SINGLE_SELECTION ) for your JList / JTable.

  • How to pass multiple filter values in SAPBEXsetFilterValue function

    I am using SAPBEXsetFilterValue for filtering the query. I want to have multiple filters for same key value for ex. for plant I want the query to be filtered for two plants at the same time using this function please any one could help me out

    Hi,
    Afraid, that is not possible:
    Re: Setting Multiple Filter Values or Filter Range Using SAPBEX API?
    Re: Passing a range to SAPBEX.XLA!SAPBEXSetFilterValue
    Re: SAPBEXsetFilterValue
    Best regards,
    Eugene

Maybe you are looking for