Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to make a file so that it can't be deleted from the system?

Hi there,

I am a VBA user, currently working on a project which requires me to
system-lock a file. I couldn't find a way to do this. I need a file to
be created, let say "test.xls". This file finally has to be locked so
that only Administrator of the system (e.g. Win2K admin) can delete the
file. Otherwise, user who tries to delete the file from Windows
Explorer will see an error message saying that the file couldn't be
deleted (Windows error message). Appreciate any help! Thanks.

Hakimi

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default How to make a file so that it can't be deleted from the system?

From Excel you could make the file read only but that would prevent changes
and also would be reversible. To securely prevent deletion it needs to be
set up by the Win2K admin: the admin needs to set up a folder with no
"delete" access rights where you can save the file.
--
- K Dales


" wrote:

Hi there,

I am a VBA user, currently working on a project which requires me to
system-lock a file. I couldn't find a way to do this. I need a file to
be created, let say "test.xls". This file finally has to be locked so
that only Administrator of the system (e.g. Win2K admin) can delete the
file. Otherwise, user who tries to delete the file from Windows
Explorer will see an error message saying that the file couldn't be
deleted (Windows error message). Appreciate any help! Thanks.

Hakimi


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to make a file so that it can't be deleted from the system?

Thanks a lot!

I will take this as my reference.

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
How do I open an Excel file on XP system, saved on a Vista system JLS7 Excel Discussion (Misc queries) 3 December 2nd 08 04:21 AM
Shared excel file gets deleted automatically from the system - Help!!!!!!!!!! [email protected] Excel Discussion (Misc queries) 0 November 13th 06 07:32 AM
Is there a way to make a spreadsheet open at system log off? uprooted Excel Programming 1 October 6th 05 08:17 PM
How to make an alert system by Excel ? Erche DP Excel Programming 0 August 5th 03 05:56 AM
How to make an alert system by Excel ? Erche DP Excel Programming 0 August 5th 03 04:57 AM


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