任何ide如何在單元格中顯示選定的切片器項目?在單元格中顯示選定的切片器項目
我曾嘗試使用這個UDF代碼:
Public Function SlicerSelections(Slicer_To_Project_Name1 As String) FblSlicerSelections = "" Dim i As Integer With ActiveWorkbook.SlicerCaches(Slicer_To_Project_Name1) For i = 1 To .SlicerItems.Count If .SlicerItems(i).Selected Then SlicerSelections = SlicerSelections & " " & .SlicerItems(i).Value End If Next i End With End Function
但我沒有得到任何迴應?