+ Reply to Thread
Results 1 to 3 of 3

Grouping of columns in Protected Sheet

  1. #1
    Registered User
    Join Date
    05-04-2018
    Location
    Sydney, Australia
    MS-Off Ver
    2016
    Posts
    65

    Grouping of columns in Protected Sheet

    Hi Everyone,

    I have a workbook where I have protected the sheet so that people cannot change the cells or alter formulas. But during my testing phase I realised that I now cannot group or ungroup columns. I really need this function to work.
    I searched several forums online and came up with the below code and I pasted this in the attached workbook. But even then group/ungrouping doesnt work. I am not sure if something is wrong with the code or even not sure how this code should actually work. Can you please help me and suggest a code or a better way of doing this.

    Please Login or Register  to view this content.
    Last edited by pchugh; 05-30-2018 at 09:37 PM.

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Grouping of columns in Protected Sheet

    I haven't checked the code but try putting the code in the ThisWorkbook object.

  3. #3
    Registered User
    Join Date
    05-04-2018
    Location
    Sydney, Australia
    MS-Off Ver
    2016
    Posts
    65

    Re: Grouping of columns in Protected Sheet

    solved. thank you.. working now.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA to allow grouping and ungrouping in protected sheet
    By ziyan89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2017, 11:15 AM
  2. Grouping columns in a protected worksheet
    By ctownballer03 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2016, 12:49 AM
  3. [SOLVED] Grouping in protected sheet issue
    By malaka76 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-23-2013, 09:45 AM
  4. Grouping/Ungrouping columns with the sheet protected?
    By Shishek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2013, 01:47 PM
  5. Grouping on a Protected Sheet in Excel
    By benbaker9876 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-25-2012, 03:29 PM
  6. Using Grouping on Protected Sheet
    By dbrine in forum Excel General
    Replies: 1
    Last Post: 02-11-2009, 04:32 AM
  7. [SOLVED] Grouping in a protected sheet
    By Werner Rohrmoser in forum Excel General
    Replies: 2
    Last Post: 09-13-2005, 05:05 AM

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