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
168
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.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

dmt32

Well-known Member
Joined
Jul 3, 2012
Messages
7,351
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
21,286
Office Version
  1. 365
  2. 2007
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
168
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 ?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,593
Messages
5,838,257
Members
430,536
Latest member
Manoj Gaidhankar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top