Hi Tom and Nick,
>thisform.pageframe1.pages(thisform.pageframe1.activepage).name
Only if the Page orders have never been switched. ActivePage returns the ActivePage number in the PageOrder (as if it counted from the left upto the activepage), but the pages array is sorted by creation order.
The only way to really confidentally do this is:
for each loPage in thisform.pageframe1.pages
if loPage.PageOrder = thisform.pageframe1.activepage
exit
endif
endfor
wait window loPage.name