#1   Report Post  
Posted to microsoft.public.excel.misc
Emma Hope
 
Posts: n/a
Default Excel and No Save

Hi

I have a read-only excel spreadsheet which my users open, there is a link to
an access database using ms query which automatically updates to show them
the latest information which they are supposed to use.

However, the little monsters, have a habit of saving it elsewhere and using
the wrong version. Is there any way i can stop them from saving it elsewhere,
i have tried removing the toolbars but i still get the 'File, Edit' etc menus
and anyway this isn't good because then they don't re-open when my users open
a completely unrelated spreadsheet.

Any help would be greatly appreciated.
Thanks
Emma
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Excel and No Save

Emma,

Use the BeforeSave event. In the ThisWorkbook code module, paste
the following code:

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel
As Boolean)
Cancel = SaveAsUI
End Sub

This will allow the workbook to be saved, but not under a
different name.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Emma Hope" wrote in message
...
Hi

I have a read-only excel spreadsheet which my users open, there
is a link to
an access database using ms query which automatically updates
to show them
the latest information which they are supposed to use.

However, the little monsters, have a habit of saving it
elsewhere and using
the wrong version. Is there any way i can stop them from saving
it elsewhere,
i have tried removing the toolbars but i still get the 'File,
Edit' etc menus
and anyway this isn't good because then they don't re-open when
my users open
a completely unrelated spreadsheet.

Any help would be greatly appreciated.
Thanks
Emma



  #3   Report Post  
Posted to microsoft.public.excel.misc
Emma Hope
 
Posts: n/a
Default Excel and No Save

Chip. Excellent. thanks. Effectively it disables the save as and as i have
it read only that should do the trick!

Dave. I'm going to save the template somewhere obscure and I'm hoping my
little devils aren't that bright but thanks very much for the warning,
hopefully it'll put off all but the brightest of the bunch and i'll probably
be able to control them by bashing their heads together if they do!


"Chip Pearson" wrote:

Emma,

Use the BeforeSave event. In the ThisWorkbook code module, paste
the following code:

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel
As Boolean)
Cancel = SaveAsUI
End Sub

This will allow the workbook to be saved, but not under a
different name.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Emma Hope" wrote in message
...
Hi

I have a read-only excel spreadsheet which my users open, there
is a link to
an access database using ms query which automatically updates
to show them
the latest information which they are supposed to use.

However, the little monsters, have a habit of saving it
elsewhere and using
the wrong version. Is there any way i can stop them from saving
it elsewhere,
i have tried removing the toolbars but i still get the 'File,
Edit' etc menus
and anyway this isn't good because then they don't re-open when
my users open
a completely unrelated spreadsheet.

Any help would be greatly appreciated.
Thanks
Emma




  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Excel and No Save

Just to add to Chip's response...

This won't stop the little devils from using windows explorer and copying your
file and pasting to a new location.



Emma Hope wrote:

Hi

I have a read-only excel spreadsheet which my users open, there is a link to
an access database using ms query which automatically updates to show them
the latest information which they are supposed to use.

However, the little monsters, have a habit of saving it elsewhere and using
the wrong version. Is there any way i can stop them from saving it elsewhere,
i have tried removing the toolbars but i still get the 'File, Edit' etc menus
and anyway this isn't good because then they don't re-open when my users open
a completely unrelated spreadsheet.

Any help would be greatly appreciated.
Thanks
Emma


--

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
Save in Multiple format crashes Excel 2000 SP3! Gadgetier Excel Discussion (Misc queries) 1 November 18th 05 12:37 AM
CANT SAVE TOOLBAR CHANGES EXCEL 2003) Paul628 Excel Discussion (Misc queries) 2 November 8th 05 07:48 PM
Excel 2003 Will Not Save On Exit tmyhlfgr Excel Discussion (Misc queries) 2 November 3rd 05 02:45 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Warning when I try to save an Excel 2003 workbook. digicast Excel Discussion (Misc queries) 0 January 11th 05 07:55 PM


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