I am trying to create a self-cleaning pivot table that automatically deletes unwanted drill down tables. I have found some code through google; however, I keep getting a Compile Error: Expected: list separator or). Below, is the section that keeps producing the error:
Private Sub Workbook_SheetBeforeDoubleClick( _
ByVal Sh As Object, ByVal Target
As Range, _
Cancel As Boolean)
Private Sub Workbook_SheetBeforeDoubleClick( _
ByVal Sh As Object, ByVal Target
As Range, _
Cancel As Boolean)