Results 1 to 28 of 28

If macro password cracked then kill thisworkbook !

Threaded View

  1. #1
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,007

    If macro password cracked then kill thisworkbook !

    Greetings,
    If you dont want to share your macros you can put a password to your file.
    But there are some programs which are designed to crack your password.
    So, putting a password is not useful.

    Any support will be thankful if Macro1 is realizable ?

    Sub Macro1()
    'If vba password cracked then Call Macro2
    End Sub
    Sub Macro2()
    ThisWorkbook.ChangeFileAccess Mode:=xlReadOnly
    Kill ThisWorkbook.FullName
    ThisWorkbook.Close SaveChanges:=False
    End Sub
    Last edited by HerryMarkowitz; 01-15-2014 at 07:48 AM.
    Sub DontForgetThese()
         If Your thread includes any code Then Please use code tags...
         If Your thread has been solved Then Please mark as solved...
         If Anybody has helped to you Then Please add reputation...
    End Sub

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Complex SaveAs and Kill Macro Help
    By Sh0ck3d in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2013, 08:22 PM
  2. Macro to kill linkages to other sheet but keep the formula
    By Excel Dumbo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-11-2013, 08:55 PM
  3. Kill excel if Macro password is wrong
    By mani.ragi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2010, 09:52 AM
  4. Please help to kill Virus Excel 4.0 Macro
    By OverAC in forum Excel General
    Replies: 3
    Last Post: 09-22-2006, 12:14 AM
  5. How to Kill a vba macro from a Function//
    By coco in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-24-2005, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1