Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Save & Save As Question

Greetings,


I have a file named TheBasis.xls. I would like allow a user to append to
the name, however, always keep TheBasis as the first part of the name. I
would prefer to disable the simple Save command. Is there a way to do this
in VB? I was thinking that there may be some way to trap the attempt to Save
or Save As, and then go to VB, however, I don't know how.

Thanks in advance for your help!

Ray


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Save & Save As Question

Ray,
Check out the Workbook_BeforeSave event.
You can force your required filename (informing the user otherwise they will
get confused), save, then cancel the save that excel is waiting to process.

NickHK

"Ray Batig" wrote in message
ink.net...
Greetings,


I have a file named TheBasis.xls. I would like allow a user to append to
the name, however, always keep TheBasis as the first part of the name. I
would prefer to disable the simple Save command. Is there a way to do this
in VB? I was thinking that there may be some way to trap the attempt to

Save
or Save As, and then go to VB, however, I don't know how.

Thanks in advance for your help!

Ray




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
Save, save as, page setup dimmed out in unprotected excel sheet? ccKeithJ Excel Discussion (Misc queries) 3 December 14th 07 07:07 PM
Save As and save current numbers not the actual formulas and links Frank Menard Excel Discussion (Misc queries) 2 November 9th 06 09:18 PM
Totally Disabling (^ save ) (Save as) and Save Icon – Which code do I use: harpscardiff[_10_] Excel Programming 8 November 10th 05 12:24 PM
Save Excel file - prompts to save - no Volitile functions used POWER CERTS Excel Worksheet Functions 2 November 1st 04 09:27 PM
Why system asks me to save change even after I call save method(VB.NET) steellock Excel Programming 2 April 27th 04 04:14 AM


All times are GMT +1. The time now is 12:43 PM.

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"