Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Prevent Particular File Name during Save


I want to prevent the user from saving a file name as a certain name.
That is, I am distrubtuting the excel file under a certain name and
want them to return it to me with a different name.

Say I distribute it as "Workbook1" and I want it returned as somethin
other than workbook 1.

I know I have to put a routine in the workbook module. And I a
assuming that it must be BeforeSave Event. But thats the extent of m
knowledge. How do I do this? I would assume it has to work in both th
Save and Save As mode too.

Thanks

--
ExcelMonke
-----------------------------------------------------------------------
ExcelMonkey's Profile: http://www.excelforum.com/member.php...nfo&userid=522
View this thread: http://www.excelforum.com/showthread.php?threadid=26414

  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Prevent Particular File Name during Save

hi.
have you given thought as to how much disk space you are
going to be useing.
might be better just to re-name it.

-----Original Message-----

I want to prevent the user from saving a file name as a

certain name.
That is, I am distrubtuting the excel file under a

certain name and I
want them to return it to me with a different name.

Say I distribute it as "Workbook1" and I want it returned

as something
other than workbook 1.

I know I have to put a routine in the workbook module.

And I am
assuming that it must be BeforeSave Event. But thats

the extent of my
knowledge. How do I do this? I would assume it has to

work in both the
Save and Save As mode too.

Thanks.


--
ExcelMonkey
----------------------------------------------------------

--------------
ExcelMonkey's Profile:

http://www.excelforum.com/member.php?
action=getinfo&userid=5221
View this thread:

http://www.excelforum.com/showthread...hreadid=264147

.

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
Prevent from save if... Pietro Excel Discussion (Misc queries) 4 July 26th 08 09:40 AM
Prevent save when content change? Nick Excel Programming 4 August 22nd 04 09:16 AM
Save File to Another Directory, but not change Users File Save location Mike Knight Excel Programming 1 May 28th 04 09:06 PM
Help! MsgBox and Prevent Save nrage21[_14_] Excel Programming 7 January 27th 04 09:13 PM
prevent user from saving file to a folder but allow my code to save from behind. susie Excel Programming 3 July 25th 03 03:01 PM


All times are GMT +1. The time now is 04:12 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"