+ Reply to Thread
Results 1 to 5 of 5

VBA Protection Problem w Grouping and Cell comments

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    aitryze years,
    MS-Off Ver
    excel 2010
    Posts
    7

    VBA Protection Problem w Grouping and Cell comments

    I am having a few issues with a workbook. The first one should be easy but I am having an issue getting it working.

    First, I am trying to allow comments on any cell, some of which may or may not be intentionally protected. I haven't been able to find anything via search and am not really sure how to implement this.

    Second, I want to allow grouping of certain predetermined column sets. I have the following code within an iteration of all sheets that are not very hidden:

    Please Login or Register  to view this content.
    It works fine but after you save and close it doesn't allow grouping and ungrouping anymore. I am pretty baffled as to why it works initially but not after reopening the file... I am hoping I have made a stupid mistake.

    Thanks.

  2. #2
    Registered User
    Join Date
    09-05-2012
    Location
    aitryze years,
    MS-Off Ver
    excel 2010
    Posts
    7

    Re: VBA Protection Problem w Grouping and Cell comments

    bump. anyone?

  3. #3
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: VBA Protection Problem w Grouping and Cell comments

    Hi fmaa,

    as for your first issue - this is not really possible, unless using a workaround.
    You could do the following as a Workbook "before right click" event.

    Please Login or Register  to view this content.
    However, you will ALWAYS get an inputbox popup to add a comment on right clicking a single cell. I hope this is workable for you.

    Please click the * below if this helps
    Please click the * below if this helps

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: VBA Protection Problem w Grouping and Cell comments

    userinterfaceonly protection does not save with the workbook-it must be reset on opening each time
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  5. #5
    Registered User
    Join Date
    09-05-2012
    Location
    aitryze years,
    MS-Off Ver
    excel 2010
    Posts
    7

    Re: VBA Protection Problem w Grouping and Cell comments

    jasper, joseph, thank you much. I will update accordingly.

+ 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. [SOLVED] Protection and Grouping
    By big t in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-30-2008, 02:54 AM
  2. Cell grouping problem
    By Timeferret in forum Excel General
    Replies: 2
    Last Post: 05-19-2007, 08:35 PM
  3. Grouping Locked by Protection
    By ValleyWatch in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2007, 10:55 AM
  4. Re: Protection & Grouping
    By ALK in forum Excel General
    Replies: 0
    Last Post: 05-04-2006, 09:50 AM
  5. Sheet Protection - Grouping
    By carlyman in forum Excel General
    Replies: 3
    Last Post: 09-22-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