Can i add another value in this PivotFilter statement?

Ruiz Nelli 20 Reputation points
2024-07-17T19:28:50.9833333+00:00

Hi,

Can i add another value (e.g. TLOG_MMF_COR_0003) in the below statement 'Type:=xlCaptionDoesNotBeginWith' where existing value1 'ATLOG_MMF_0003' is there already:

============================================

ActiveSheet.PivotTables("PivotTable9").PivotFields("USSMG_File-list"). _

                PivotFilters.Add2 Type:=xlCaptionDoesNotBeginWith, Value1:="ATLOG_MMF_0003"
```=============================================

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,955 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,976 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.