Mikee
Here is the relevant line from the wiki on refcombination command,
Sub RefCombination(Axes as Integer)
Performs simultaneous referencing on several axes. They are coded by ORing or addition of the following codes: X = 1, Y= 2, Z = 4, A = 8, B = 16 and C = 32.
So try,
RefCombination ( 10 ) 'ref Y and A simultaneously.
after removing,
DoButton ( 23 ) 'ref Y
DoButton ( 25 ) 'ref A
Greg