Open form from another workbook

K

Keith74

Hi All

I'm having a friday moment. When one for closes i want to close that
workbook and show the menu form in the previous workbook.

Application.run "Main Menu.xls!ShowForm" just returns an error (can't
find).

Any thoughts?

cheers

Keith
 
V

Vergel Adriano

Try enclosing the filename in single quotes.

Application.Run "'Main Menu.xls'!ShowForm"
 

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

Top