Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JH JH is offline
external usenet poster
 
Posts: 64
Default overwrite all files

Hello,


my macro usually creates a lot of files. If the same file already exists the
dialog something like this "file ... already exists, overwrite it? will show
up. But just with three buttons YES, NO, CANCEL. And sometimes I would like
to overwrite all the files and sometimes none of the files. So I need a
dialog with five buttons: YES, NO, CANCEL and YES to All and NO to All.
does anyone know how to achieve that

thanks

JH
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default overwrite all files

How about making a small userform?

Debra Dalgleish has a small tutorial at:
http://www.contextures.com/xlUserForm01.html

JH wrote:

Hello,

my macro usually creates a lot of files. If the same file already exists the
dialog something like this "file ... already exists, overwrite it? will show
up. But just with three buttons YES, NO, CANCEL. And sometimes I would like
to overwrite all the files and sometimes none of the files. So I need a
dialog with five buttons: YES, NO, CANCEL and YES to All and NO to All.
does anyone know how to achieve that

thanks

JH


--

Dave Peterson
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
Overwrite / Append files? Aidan Engineer Excel Discussion (Misc queries) 2 September 1st 06 06:31 PM
overwrite SP[_3_] Excel Programming 2 April 22nd 05 06:15 PM
Save As Overwrite [email protected] Excel Programming 1 September 15th 04 11:09 PM
Save .csv with overwrite Kevin Excel Programming 1 April 27th 04 02:38 AM
Prompt to overwrite Karen[_10_] Excel Programming 2 October 16th 03 08:24 PM


All times are GMT +1. The time now is 12:23 AM.

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

About Us

"It's about Microsoft Excel"