🔓 Remove VBA Password in Seconds in Excel (2 Easy Ways)

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025

ความคิดเห็น • 47

  • @steward01
    @steward01 2 หลายเดือนก่อน

    Perfect, tried and failed doing it myself from SO instructions, much easier to follow along. Turns out not only had I forgotten the passwords from my project but also everything else I taught myself about VBA all those years ago.

  • @howardp3841
    @howardp3841 หลายเดือนก่อน

    Perfect, saved me - I had written a really nice by very complicated workbook to generated some docs - I did this about 4 years ago and since then haven't touched it and couldn't remember the PW... I had tried the DPM > DPx method, but that doesn't work on x64. This VBA macro method worked a treat first time - HUGE thanks for sharing 👍👍👍👍

  • @DragoșRadu-m9f
    @DragoșRadu-m9f หลายเดือนก่อน +1

    Sir, I really don't know how to thank you (and Mr. Su Tom) for providing this helpful video to me. I was about to create the code blocked by the VBA forgotten password and that would have been a very painful process, especially now at 03:00 AM in the morning. Thank you so much.

    • @trumpexcel
      @trumpexcel  หลายเดือนก่อน

      Glad the video helped 🙂

  • @IvanCortinas_ES
    @IvanCortinas_ES หลายเดือนก่อน

    Excellent tutorial. Thank you for sharing it, Sumit!!!

    • @trumpexcel
      @trumpexcel  หลายเดือนก่อน

      Thanks Ivan 🙂

  • @temyraverdana6421
    @temyraverdana6421 หลายเดือนก่อน +1

    Wow, amazing. Thanks a lot for share it

  • @prakash180
    @prakash180 6 หลายเดือนก่อน

    Hi Sumit, Your videos are very helpful to me. Thank you so much.
    What are the additional protection methods for excel & VBA in such a way that we cant use these ways to unprotect?

  • @josedanielsolis2833
    @josedanielsolis2833 2 หลายเดือนก่อน

    Amazing, worked first time, thanks a lot.

  • @Satwant2463
    @Satwant2463 6 หลายเดือนก่อน +1

    Thank you 👍🏼

  • @MohamedAboAbdo03
    @MohamedAboAbdo03 19 วันที่ผ่านมา

    Thank you so much

  • @singarajamudhaliar3736
    @singarajamudhaliar3736 4 หลายเดือนก่อน

    Thank you So much, I have recovered 3 years old file.
    Once again thank you.

  • @bobbriggs4287
    @bobbriggs4287 4 หลายเดือนก่อน +1

    Neither of these worked for me. I was able to correct the declare sub and function statements by inserting PtrSafe but got a type mismatch error for VarPtr. I don't know how to fix this. The hex editor method has never worked for me. Even when I replace the DPB with DPX (or whatever it was) it did not unlock.

  • @SenseiTrades
    @SenseiTrades หลายเดือนก่อน +1

    what about when vb editor says project is unviewable and doesnt give option to type a password

  • @vishytheking
    @vishytheking 5 หลายเดือนก่อน

    i have a xlsm file which is locked. in your example you are showing that your file is showing in the VB screen and you are opening a new file to copy paste the code. so the locked file is open in the background and when this code is run its unlocking..
    second is, without a file open, i could not insert a module to paste the code. may be you know a round about.. thanks i am on excel 365

  • @krismj24
    @krismj24 หลายเดือนก่อน

    Do you have any solution for MacOs?

  • @AnjanBasumatary
    @AnjanBasumatary 4 หลายเดือนก่อน

    Im able to unlock the protected xlsm excel sheet...but the excel has validity, how to change that?....ALSO ONE folder is showing project is unviewable instead of asking for password

  • @akalarun
    @akalarun 6 หลายเดือนก่อน

    I have password to open the Excel file. Now I forgot that password to open the Excel file. Is it possible to recover that password?

  • @kemyatv9327
    @kemyatv9327 29 วันที่ผ่านมา

    Please can i send my excel to you so that you cna help me i have failed

  • @حسنعلي-ظ4م4خ
    @حسنعلي-ظ4م4خ 5 หลายเดือนก่อน

    Hi brother, in the first step, can we change the password ? many thanks

  • @Live_for_Learn_everyday
    @Live_for_Learn_everyday หลายเดือนก่อน

    sir "Project is unviewable" ko unblock karne ke liya kya karna hoga ?

  • @dhirajm85
    @dhirajm85 6 หลายเดือนก่อน +1

    Good video

  • @contabilidadmasexcel6104
    @contabilidadmasexcel6104 3 หลายเดือนก่อน

    Eres Genial!!!!

  • @richardhumphrys8237
    @richardhumphrys8237 9 วันที่ผ่านมา

    To prevent the first attack, link the code/project too a license and this will stop the code on a separate workbook from opening the in house license/project. Too stop the second attack use a large password of 30 charters and this will prevent HxD from deciphering the remaining digits 123. This worked for me in Excel 2024 home edition. Both attacks failed. I will be keeping an eye on this comment and other similar TH-cam videos to prevent copyright theft.

  • @celyb8384
    @celyb8384 6 หลายเดือนก่อน

    I have a question, have an excel sheet, no VBA project but I input password. Now I can't remember the password and I can't open the excel sheet. What should I do?

    • @trumpexcel
      @trumpexcel  6 หลายเดือนก่อน

      This might help - th-cam.com/video/oq59u0rpkiE/w-d-xo.html

  • @keepsecret7624
    @keepsecret7624 6 หลายเดือนก่อน

    I much prefer a written tutorial to such videos. Videos do have a use, but the best results are written + Video.

    • @trumpexcel
      @trumpexcel  6 หลายเดือนก่อน

      Here you go - trumpexcel.com/excel-vba/remove-password/

  • @ahmedmonhem
    @ahmedmonhem 2 หลายเดือนก่อน

    THANKS

  • @shamilvakkaloor3183
    @shamilvakkaloor3183 3 หลายเดือนก่อน

    How to unlock VBA in the PPt?

  • @derekporter66
    @derekporter66 6 หลายเดือนก่อน +2

    Why would they make it such low security

    • @trumpexcel
      @trumpexcel  6 หลายเดือนก่อน +1

      Yeah, it's pretty easy to break and anyone with a little bit of research can do it. Hence, the advice to not rely on Excel's in-built security only

  • @idrissoumoussa6705
    @idrissoumoussa6705 2 หลายเดือนก่อน

    this does not work with ms access

  • @Hill_null
    @Hill_null 4 หลายเดือนก่อน

    The first one didn't work because I'm on a Mac. The second one also didn't work either.

  • @mr.google6086
    @mr.google6086 6 หลายเดือนก่อน +1

    sorry to say this but excel locks the file but not encrypts it so the easiest way to unlock is by opening the file using another software like open office. Many people think hiding the code ie making it unviewable is a secure method but even that doesn't work out if you are using a software other than Excel i believe soon micro soft will take some action for this

    • @trumpexcel
      @trumpexcel  6 หลายเดือนก่อน

      True, opening Excel in another applications would easily bypass any security such as VBA locking. But that sometimes also leads to loss in functionality as Excel has a lot more feature than others

  • @IvyPlans
    @IvyPlans 6 หลายเดือนก่อน

    Is there a way to not allow the VBA not to be unlocked? People lock files for a reason. 👎🏻

    • @trumpexcel
      @trumpexcel  6 หลายเดือนก่อน +1

      I don't think there is anything built in Excel to be more secure. For people selling Excel files or templates, one idea could be to have it before a paywall and only gives access to those who buy, and then lock the VBA as well. Again, doesn't guarantee full security. There might be some third party tools to lock Excel, but I will have to do some research to find some.

    • @IvyPlans
      @IvyPlans 6 หลายเดือนก่อน

      @@trumpexcel There is a third party app, but you have to pay extra.

  • @ventjemazzel8822
    @ventjemazzel8822 6 หลายเดือนก่อน

    👍

  • @brianforbes3012
    @brianforbes3012 6 หลายเดือนก่อน +2

    You should not be showing this. Developers who have spent months programming and trying to protect their creation, you destroy it in 8:57 sec.

    • @trumpexcel
      @trumpexcel  6 หลายเดือนก่อน +4

      I believe it's better for people to know that Excel's in-built security is pretty weak and to use better ways to protect their work. And this is useful for many people who genuinely need help and are not trying to rip off other people's work.

    • @IvyPlans
      @IvyPlans 6 หลายเดือนก่อน

      I totally agree.

    • @IvyPlans
      @IvyPlans 6 หลายเดือนก่อน

      @@trumpexcel People will use this to rip other peoples work. Especially if you sell digital products.

    • @akalarun
      @akalarun 6 หลายเดือนก่อน

      I have password to open the Excel file. Now I forgot that password to open the Excel file. Is it possible to recover that password?

  • @jai12682
    @jai12682 2 วันที่ผ่านมา

    Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA)): error