+ Reply to Thread
Results 1 to 6 of 6

Stop macro from moving to front page on save

  1. #1
    Registered User
    Join Date
    10-18-2012
    Location
    Here
    MS-Off Ver
    Excel 2003
    Posts
    5

    Stop macro from moving to front page on save

    Hi there guys i have a really frustrating issue, i have a spreadsheet here that has a load of annoying protection on it, im a complete noob but have somehow managed to unlock the vba and remove some protection but im stuck and might of caused some damage. Whenever i click a button or try to type something in the calandar hides all sheets and takes you to the log in sheet which is now no longer working. I need help stopping it from hiding everything and calling the start sheet and i need to remove the need for the start sheet entirely. I would really appreciate help here thanks guys. Here is the link to the spreadsheet removed by Admin

    EDIT:A moderator closed this last time which i dont think is fair because its not cracking protection, there is no protection on the sheet except it forces a page everytime you save which i want to remove.
    Last edited by JBeaucaire; 11-13-2014 at 06:21 PM. Reason: Corrected Title, as per forum rules.

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Need help with VBA!!!

    Please use more descriptive text in your subject line.

    The file looks cracked to me or just obfuscated on purpose to stop modification or reverse engineering. Othwerwise, I would tell you how to figure out how to break the selection event issue. The variables and modules are all obfuscated so even if you broke or stopped that part from firing, reading the code for what it does for other things makes no sense. Looks like the author used an obfuscating routine for the vba code and module names or the cracking code did that.

  3. #3
    Registered User
    Join Date
    10-18-2012
    Location
    Here
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Need help with VBA!!!

    Hey thanks for replying, sorry im a total noob at this so dont really understand what you said . Is it possible to remove the log in sheet and have the spreadsheet function properly?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Stop macro from moving to front page on save

    I've removed the link to your external workbook due to the nature of the content in the ThisWorkbook module and references to cracking VBA passwords found in that code. Please understand it's not personal, we do not allow such content, nothing more.

    As for your question, if you want the workbook to stop doing something when you save the workbook, remove the Workbook_BeforeSave macro from the ThisWorkbook module. That will certainly stop that behavior.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Registered User
    Join Date
    10-18-2012
    Location
    Here
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Stop macro from moving to front page on save

    Hi no worries i totally understand, ive learned a new term, obfuscated. It looks like this spreadsheet is obfuscated lol, are there any signs to look out for to find the before save macro, some of the code is readable and gives hints as to its functions.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Stop macro from moving to front page on save

    I was referring to opening the ThisWorkbook module and removing the entire Workbook_BeforeSave macro found there.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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