Hi Helena,
I had an issue like this before, my solution was not pretty but I will share it anyway, I have amended your code to work on my dummy workbook and added a function for it to use:
Code:
Sub ExportPDF()
Dim sC As SlicerCache
Dim x As Long
Dim FName As String
Dim FPath As String
Set sC = ActiveWorkbook.SlicerCaches("Slicer_Product")
For x = 1 To sC.SlicerItems.Count
SlicerSelect "Slicer_Product", sC.SlicerItems(x).Name
FPath = "C:\Users\..."
FName = sC.SlicerItems(x).Name
ThisWorkbook.Sheets(Array("Sales", "Demand", "Supplier", "Inventory", "Distributor")).Select
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _
Filename:=FPath & "\" & FName & ".pdf", _
Quality:=xlQualityStandard, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Next x
End Sub
Function:
Function SlicerSelect(SlicerName As String, SlicerItem As String)
Dim SC As SlicerCache
Dim SI As SlicerItem
Dim index As Integer
Set SC = ActiveWorkbook.SlicerCaches(SlicerName)
SC.ClearManualFilter
For Each SI In SC.SlicerItems
If SI.Name = SlicerItem Then
SI.Selected = True
Else
SI.Selected = False
End If
Next SI
End Function
Hope this helps or spawns another idea