Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
SS SS is offline
external usenet poster
 
Posts: 32
Default Cancel Button in Open File Window

Hi

Is there a way to deactivate the "Cancel" button in an "Open File" window?

I want to force the user to find a file. I don't want to let them get out
of it by cancelling.

Any thoughts?

Thanks!

SS
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Cancel Button in Open File Window


The only way I think you could disable the button would be via the
Windows API.

Why not just check to see if they have hit the cancel button and if
they have reopen the window.

Code:
--------------------

Do
x = Application.GetOpenFilename
Loop Until Application.WorksheetFunction.IsText(x)

--------------------


--
Norie
------------------------------------------------------------------------
Norie's Profile: http://www.excelforum.com/member.php...o&userid=19362
View this thread: http://www.excelforum.com/showthread...hreadid=376828

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
Vista Office 2003 File Open Window @details will only show file n. amb@HKD Excel Discussion (Misc queries) 1 September 3rd 09 01:03 AM
open mht file - on all the window HS Charts and Charting in Excel 0 July 4th 05 01:15 PM
open file in different window Anna Excel Discussion (Misc queries) 1 April 25th 05 09:33 PM
How check for No/Cancel Button when SaveAs and file already exists? Joe HM Excel Programming 7 April 19th 05 10:53 AM
How do open each excel file in its own window pearcemi Excel Discussion (Misc queries) 2 March 10th 05 10:59 AM


All times are GMT +1. The time now is 06:35 AM.

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"