I have an element relative display that has 20 elements. What I am looking to do is add two command buttons. One will cycle through the elements going forward and the other one backwards (i.e. if I'm on element 1 and click the command button going forward it will take me to element 2, if I'm on element 1 and click the command button going backwards it will take me to element 20).
I am having trouble with the syntax of the VBA code to accomplish this. I know I need to do something with the ContextHandler but I am a little lost. Any help would be much appreciated!