Hi,
Problem, I wanted to consolidate my VBA so every button used the same macro.
The below doesn't seem to work when I use the variable ButtonText to call the custom view, but works fine if I type it manually, eg. "Total" which is one of the views I can to show.
'Define variables
Dim ws...