pushing window to the front

  • Thread starter Thread starter greg
  • Start date Start date
G

greg

Hello,
I am working on a problem. I need to build a toolbar menu item. When it
will either push a specific workbook to the top. or take the item below it
and push that to the top.

So if my workbook is "Main.xls".
And I have workbooks a,b,c,d,....
When I push the button I want Main to the front.
Then Push again, I want the first in the list pushed up.

The button is easy. But how can you give focus to a document?
Or how can you find the next one in the stack?

thanks
 
Here is a quick snippet to tab through the open workbooks:



ActiveWindow.ActivateNext


Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top