What do you think about this way of protecting excel file, and could you pls help with it.

netanel99

Board Regular
Joined
May 13, 2013
Messages
143
Hello Excelers,

I've thought It will be interesting to build a macro that is hidden, and intrigue self complete deleting of the excel file, if the excel file won't be located In a folder called "excelishere" and subfolder called : "all excel files".

would like to know what you think.
 

Some videos you may like

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

dmt32

Well-known Member
Joined
Jul 3, 2012
Messages
6,170
Office Version
  1. 2019
Platform
  1. Windows
You may find this thread of some interest:Solved: Delete The File Itself [Archive] - VBA Express Forum

My own thoughts are that Excel security is weak & suggested approach in thread may work but only if macros are enabled. Most experts can work through workbook protection attempts in a very short order of time.

Dave
 
Last edited:

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
19,387
Office Version
  1. 2013
Platform
  1. Windows
AS well as Daves comments, keep in mind that Deleting data, especially if it's company information has legal implications.
Remember, it's their data not yours !!
 

netanel99

Board Regular
Joined
May 13, 2013
Messages
143
what a bummer I went study accounting instead of CS .. anyway, yea thanks I know all about your reminders,
I do think that you probably on the top 99.9% well skilled on excel. if someone will take the file and see it needed a pass he will give it to a well experienced folk or study himself. but if someone will take the file he probably execute It from another folder and subfolder and then after opening the file and see tons of codes and sheets it require only one time of enabling vba to say bye bye.
as you mentioned there isn't much defense on vba, so in my humble opinion its as good as it gets.

could u pls help with it ?
 

Watch MrExcel Video

Forum statistics

Threads
1,112,996
Messages
5,543,188
Members
410,584
Latest member
Bluefox68
Top