Link to home
Start Free TrialLog in
Avatar of Dokat
Dokat

asked on

Compile Error: Expected List Separator or) error message

I am receiving "Compile Error: Expected List Separator or)" error message. Can anyone help me with whats causing the error message with the below code.

Only change i made was in the last bracket i replaced "Delta" with "Range("AO294").Text"

Sub MyPvt() ' ' MyPvt Macro '

' ActiveSheet.PivotTables("MyPvt").PivotFields( _ "[Append1].[Manufacturer].[Manufacturer]").VisibleItemsList = Array( _ "[Append1].[Manufacturer].&[Range("AO294").Text]"

End Sub

Thank you
Avatar of Qlemo
Qlemo
Flag of Germany image

You are missing a closing ) at the very end of the line.
Avatar of Dokat
Dokat

ASKER

I added the closing ) now I don't get error message but it doesn't update my filter selection when I ran the macro. Can you please help

Thanks
Of course you removed the ' in front of the line?
Avatar of Dokat

ASKER

where do i need to put the ' in front of the line?
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial