Protect Excel Worksheet as UserInterFaceOnly || Expand/Collapse groups in protected Worksheet

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ต.ค. 2024

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

  • @airliasmith4167
    @airliasmith4167 5 ปีที่แล้ว +6

    Thanks for the video. Is there a way to apply this code to all worksheets in the workbook?

  • @katiecallahan6385
    @katiecallahan6385 4 ปีที่แล้ว +1

    This was exactly what i was looking for! I paired it with a private sub workbook open string and it works like a charm. Thank you!

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

    Thank you! You are the Legend ^^ I'm Vietnamese

  • @bayareaguy66
    @bayareaguy66 2 ปีที่แล้ว +1

    This REALLY helped me out today, PK. Just what we needed. Thank you!

  • @monicaramento2531
    @monicaramento2531 2 ปีที่แล้ว +1

    this solves my problem with my project. thank you!

  • @mikebaroz
    @mikebaroz 4 ปีที่แล้ว

    It works. Thank you! A humble advice: The Video is too long and contains unnecessary information. A one minute or so video is more effective.. Thank you again and have a nice day!

  • @nicholaschan202
    @nicholaschan202 2 ปีที่แล้ว +1

    is there a way to use this userinterfaceonly function on two sheets in the same workbook

  • @Ddimmen
    @Ddimmen 4 ปีที่แล้ว +1

    The perfect solution to the problem I was facing! Thanks!!!

  • @theunfinisher8366
    @theunfinisher8366 3 ปีที่แล้ว +1

    mygosh! thank you for this video! been looking for this for a while now! Thankssssss!!!

  • @md.moniruzzamankhan3296
    @md.moniruzzamankhan3296 4 ปีที่แล้ว +1

    Hi PK,
    I have a spreadsheet that contains some some charts and I found a UDF (set Chart axis)online that allows me to have the axes set automatically based on the values of certain cells. This works great and gives me very aesthetically pleasing charts. However, when I protect the sheet that contains the charts, the UDFs all results in a #VALUE! error. I need to enforce protection on these charts so end users have the ability to see them but not modify them. Is there a way to make the UDF work when the sheet is protected?

  • @jwelrana3015
    @jwelrana3015 3 ปีที่แล้ว +1

    It’s great, but it only works for a single worksheet. Pls let us know how can it be done for multiple worksheets under a single workbook?

  • @arunrana2004
    @arunrana2004 4 ปีที่แล้ว +2

    Hi, it's very useful VBA, actually meet the requirements. However I faced some problems,
    1. it's worked fine for 1 sheet, however when I tried to write code for multiple sheets, sometimes it doesn't work.
    2. When somehow I was able to make workable for multiple sheets, however stop working when workbook reopen,
    3. Worksheet permission secured by password changed automatically.
    Can you please help to resolve these issues.

  • @kemamanpoint464
    @kemamanpoint464 4 ปีที่แล้ว +1

    Hello sir, is it possible to also Enable Filters across multiple rows Aside from Enabling Outlining (which is the Grouping function)?? Thanks

  • @howyfam8488
    @howyfam8488 4 ปีที่แล้ว

    Fantastic video. Thanks for sharing your knowledge. Can you please explain how you would adjust the macro to apply the same expand and collapse to other multiple worksheets? Thanks in advance

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

    Thank you this helped me so much!

  • @venkateshns2003
    @venkateshns2003 3 ปีที่แล้ว

    Hi, this is a good one. do we need to change anything if we need this to be used for grouping rows instead of columns?

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

    Very helpful sir. Thank you

  • @huitingneo9210
    @huitingneo9210 4 ปีที่แล้ว

    Thanks for the video! It's very useful and easy to follow. Can I please ask from here, how do I allow users to re-group columns while still have the file protected? For example users can see 20 columns, 15 of which are grouped but since they have used 10 columns, user want to remove grouping on 5 columns.

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

    Thank yo so much !! could you pls let me know how to run this same macro automatically when open this excel file ? Please.

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

      Put this code on thisworkbook open event

  • @0329nish
    @0329nish 5 ปีที่แล้ว

    Does this macro also work on a shared workbook used by multiple users?

  • @JogeshRoss
    @JogeshRoss 2 ปีที่แล้ว

    Kindly help me to solve this issue , i had created a dashboard for sales tracker pipeline and its working fine , but when i tried to apply hide/protect the formulas and the validations given in the table's conditional formatting and dropdown list box are not working after the first row in the table. Kindly assist me on this.
    Jogesh David Ross.

  • @prjawahar5879
    @prjawahar5879 ปีที่แล้ว

    Very helpful. Many thanks

  • @gentle2005phir
    @gentle2005phir 5 ปีที่แล้ว +1

    Gr8 PK, I liked userinterfaceonly:= True

  • @0329nish
    @0329nish 5 ปีที่แล้ว +1

    Is it possible to use a pivot table in a protected and shared workbook? Thanks a lot in advance!

    • @PKAnExcelExpert
      @PKAnExcelExpert  5 ปีที่แล้ว +1

      Hi Nishant,
      Yes you can use a pivot table in protected worksheet. Make sure while you are protecting a worksheet just tick "Use Pivot Table & Pivot Chart" in the list.

  • @stevennye5075
    @stevennye5075 5 ปีที่แล้ว +1

    excellent explanation!

  • @olibolivar7223
    @olibolivar7223 5 ปีที่แล้ว +1

    Great! I'm able to understand it now. Thank you sir! Have a great day! :D

  • @vombol1967
    @vombol1967 3 ปีที่แล้ว +1

    Dear Sir, how can i do this for multiple password protected worksheets of a single workbook?

  • @alyssagoodman6711
    @alyssagoodman6711 5 ปีที่แล้ว

    Hello thank you for sharing this!
    Is there a way to set column levels as a default when the workbook opens in addition to the protection and ability for users to use grouping buttons?

  • @ketanb7994
    @ketanb7994 ปีที่แล้ว

    Thanks for the VBA Macros, however what if some one changed the excel sheet name? Macros get crashed 😲😯

  • @chkader87
    @chkader87 3 ปีที่แล้ว

    How to apply this vba to multiple sheets in the same workbook?

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

    Very useful!!

  • @iwed19
    @iwed19 ปีที่แล้ว

    Hi, how to apply this to multiple worksheet?

  • @anamikakumari4714
    @anamikakumari4714 2 ปีที่แล้ว

    Hi Pk,
    Just wanted to know if all the tabs are protected with the same password, how do we make this code effective for all the tabs? any help will be appreciated!! Thanks

  • @aquayum72
    @aquayum72 5 ปีที่แล้ว +1

    Great video again

  • @rrb6nlac
    @rrb6nlac 4 ปีที่แล้ว

    How do I use the VBA in this video when some cells are editable and we have the expand.

  • @chanchaldas6229
    @chanchaldas6229 4 ปีที่แล้ว

    Sir I'm facing a problem
    All program working fine but
    Protect sheet not working find data
    Data searching issue
    Please suggest
    Thanx for advanced

  • @rameshchandragupta8060
    @rameshchandragupta8060 5 ปีที่แล้ว +1

    its great learning for me...!, sir, its request to solve my query...
    Outlook VBA on send new email, itself extract all information in a workbook like, TO, CC, Subject, Date &Time.

    • @PKAnExcelExpert
      @PKAnExcelExpert  5 ปีที่แล้ว +1

      Thanks for your valuable feedback. I will definitely try to make such video very soon.

    • @rameshchandragupta8060
      @rameshchandragupta8060 5 ปีที่แล้ว +1

      @@PKAnExcelExpertthank for your attention,and I m waiting for that.

  • @vickysimbu1
    @vickysimbu1 5 ปีที่แล้ว +1

    Is this applicable for the worksheet which is already protected with their password !! Please advise

    • @PKAnExcelExpert
      @PKAnExcelExpert  5 ปีที่แล้ว

      First unprotect your worksheet then you need to protect this again using the code which I have share in video.

  • @tahahafiz8552
    @tahahafiz8552 4 ปีที่แล้ว +1

    Hats off!

  • @kuldeep-cn3wp
    @kuldeep-cn3wp 4 ปีที่แล้ว

    Sir thanks for excellent videos. I got real soluations but I can not use || Expand/Collapse groups in protected Worksheet.
    I am using following code:
    Private Sub Worksheet_Change(ByVal Target As Range)
    ActiveSheet.Unprotect "xxx"
    If VBA.IsEmpty(Target) Then
    Target.Locked = False
    Else
    Target.Locked = True
    End If
    ActiveSheet.Protect "xxx"

    End Sub
    How can I enable outlining commad in it?
    plz give me solution.

  • @christasian410
    @christasian410 ปีที่แล้ว

    thank you!!!

  • @ladjidiallo8904
    @ladjidiallo8904 5 ปีที่แล้ว +1

    Awesome

    • @PKAnExcelExpert
      @PKAnExcelExpert  5 ปีที่แล้ว

      Thanks for your appreciation. Please share it with your friends and colleagues.

  • @AbhishekSharma-qu5ub
    @AbhishekSharma-qu5ub 5 ปีที่แล้ว

    Hi sir,
    Mujhe VBA code main multiple file merge into single file but duplicate not repeat now. And multiple file another location.

    • @PKAnExcelExpert
      @PKAnExcelExpert  5 ปีที่แล้ว

      Hi Abhishek, You can copy the data with headers. Alternatively you can code the data with header and after consolidating you can delete the headers.
      You can watch below given videos.
      th-cam.com/video/lBuiz4VGDzA/w-d-xo.html
      th-cam.com/video/02UkrwixiMc/w-d-xo.html
      th-cam.com/video/TqG3t01FwRY/w-d-xo.html
      th-cam.com/video/YlBt9ecbrgg/w-d-xo.html

  • @behnamebrahimi1625
    @behnamebrahimi1625 5 ปีที่แล้ว +1

    👌👌👍👍👏👏👏

    • @PKAnExcelExpert
      @PKAnExcelExpert  5 ปีที่แล้ว +1

      Thanks for your valuable feedback. Please share it with your friends and colleagues.

    • @behnamebrahimi1625
      @behnamebrahimi1625 5 ปีที่แล้ว

      @@PKAnExcelExpert I'll do

  • @babu393
    @babu393 2 ปีที่แล้ว

    PASSWORD PROTECTED EXCEL TABLE NOT EXPANDING THE ROWS WHEN WE TYPING ANYTHING,HOW CAN FIX IT Sir..?

  • @AbismailHK
    @AbismailHK 3 ปีที่แล้ว

    Hi Excel Expert:
    SVP I have an Excel sheet which calculates an area for me, and then I create a VBA code to calculate this area with two parameters (Y, Z) and I want to have the automatic MIN area with its parameter Y; Z
    and here is my code and tell me the error.
    -------------------------------------------------------------------------------------------------------------------------------------------------------
    Sub CalculSurfaceMin()
    Dim s As Double, sz As Double, sy As Double
    Dim x As Double, y As Double, z As Double
    Dim i As Long, j As Long
    Dim sz0 As Double, sy0 As Double
    sy0 = 10000
    For i = 1 To 31 Step 1
    y = 41 - i
    Cells(62, 18).Value = y
    sz0 = 10000
    For j = 1 To 41 Step 1
    z = 41 - j
    x = 100 - y - z
    Cells(61, 18).Value = x
    sz = Cells(64, 20).Value #### this cell contains a formula for calculating the area.
    If (sz sz0) Then
    Cells(54, 18).Value = y
    Cells(53, 18).Value = x
    Cells(55, 18).Value = z
    Cells(56, 18).Value = sz0
    End If
    End If
    Next j
    sz0 = Cells(64, 20).Value
    If (sz0 sy0) Then
    Cells(54, 18).Value = y
    Cells(53, 18).Value = x
    Cells(55, 18).Value = z
    Cells(56, 18).Value = sy0
    End If
    End If

    Next i
    End Sub
    ------------------------------------------------------------------------------------------------------

  • @hariomgupta4677
    @hariomgupta4677 5 ปีที่แล้ว

    Flash cell color auto

    • @sarsoklin7726
      @sarsoklin7726 4 ปีที่แล้ว

      You explain not clearly
      Please don't speak a lot
      Please point step by step

  • @vombol1967
    @vombol1967 4 ปีที่แล้ว +1

    It’s great, but it only works for a single worksheet. Pls let us know how can it be done for multiple worksheets under a single workbook?