Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Open form from another workbook

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default Open form from another workbook

Try enclosing the filename in single quotes.

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


--
Hope that helps.

Vergel Adriano


"Keith74" wrote:

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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Open form from another workbook

Thanks Vergel

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Form to open when workbook is opened Dana Excel Worksheet Functions 2 November 27th 07 12:27 AM
how to open your workbook with a form gbpg Excel Discussion (Misc queries) 2 July 30th 07 03:02 AM
Open workbook form from Add-in DrToast Excel Programming 0 September 7th 06 06:35 PM
HIDE Workbook whilst VBA Form Open Steve_Dyson[_2_] Excel Programming 0 November 18th 04 10:47 AM
HIDE Workbook whilst VBA Form Open Steve_Dyson Excel Programming 1 November 17th 04 02:34 PM


All times are GMT +1. The time now is 02:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"