codeliftsleep
Board Regular
- Joined
- Apr 14, 2017
- Messages
- 103
I have a slicer that has quite a few values in it and having to loop through all of the items takes quite a while. When a user opens the workbook, it is setting the slicers to show only their data. However, this looping through all the users of each slicer is taking much longer than it needs to.
Basically all I really need to do is to Deselect all of the items(aka, the equivalent of clicking (blank) in VBA code) and then select one item. However it does not appear this is possible, as when I attempt to select blank in VBA code, it doesn't work. Even recording a macro with me clicking blank basically selects blank and then deselects all other items manually, which is pretty much the same as me looping over them and deselecting them, which is what I want to avoid.
Is there no way to accomplish what seems like it should be a very basic task?
Basically all I really need to do is to Deselect all of the items(aka, the equivalent of clicking (blank) in VBA code) and then select one item. However it does not appear this is possible, as when I attempt to select blank in VBA code, it doesn't work. Even recording a macro with me clicking blank basically selects blank and then deselects all other items manually, which is pretty much the same as me looping over them and deselecting them, which is what I want to avoid.
Is there no way to accomplish what seems like it should be a very basic task?