Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Philippe Roy
 
Posts: n/a
Default Stoping users from saving tables to their local machines...

My question relates to server residing tables being saved locally.

While a write protected table cannot be altered on the server by a user
(Without write rights) I am wondering if there is a way (Perhaps through
Excel macros?) to stop a user from being able to save a given table to his
local machine.

Thanking all in adv. for your time, and I look forward to your replie(s).
  #2   Report Post  
FSt1
 
Posts: n/a
Default

hi.
your info is a little sketchy. because you posted in excel, i'm assuming
that your tables are in an excel file.
i don't know how may users you have but you might try something like this.....

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If Application.UserName = "DoeJohn" Then
MsgBox ("you are not authorized to save this file.")
Cancel = True 'cancels the save
ActiveWorkbook.Close False 'false = not saved.
End If
End Sub

this would prevent a user named DoeJohn from saving the file but would allow
others to save the file meaning you may have to do it surgically. if you only
want yourself to save then you might want to modify the if statement.....

if application.username <"yourname" then

this may not be what you have in mind but maybe it will give you ideas.

Regards
FSt1

"Philippe Roy" wrote:

My question relates to server residing tables being saved locally.

While a write protected table cannot be altered on the server by a user
(Without write rights) I am wondering if there is a way (Perhaps through
Excel macros?) to stop a user from being able to save a given table to his
local machine.

Thanking all in adv. for your time, and I look forward to your replie(s).

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
Preventing other users saving another version of protected workboo Laura Cook Excel Discussion (Misc queries) 1 August 5th 05 06:53 PM
Preventing users from saving a spreadsheet MDH Excel Discussion (Misc queries) 4 July 6th 05 09:46 PM
Stoping users pasting formulas into cells confused Excel Worksheet Functions 0 June 7th 05 01:11 PM
How do I keep other users from saving my read-only document? bumblebug Excel Discussion (Misc queries) 2 March 4th 05 06:35 PM
Saving Excel ranges as database tables Peter Excel Discussion (Misc queries) 2 December 17th 04 08:15 PM


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