+ Reply to Thread
Results 1 to 5 of 5

How to diasble the 'Tools - Options - View - Comments' options?

  1. #1
    Alan
    Guest

    How to diasble the 'Tools - Options - View - Comments' options?

    Hi All,

    I would like to disable the option for a user to show comment
    indicators. Effectively, I want to lock the option to 'None'.

    Is that possible?

    Thanks,

    Alan.



  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Alan,

    You can disable the comments in VBA by using...

    Application.DisplayCommentIndicator = xlNoIndicator


    Unfortunately, you cannot disable the Comment section of the Option Dialog without disabling the Options Dialog completely.

    Sincerely,
    Leith Ross
    Last edited by Leith Ross; 05-18-2005 at 03:59 AM.

  3. #3
    paul.robinson@it-tallaght.ie
    Guest

    Re: How to diasble the 'Tools - Options - View - Comments' options?

    Hi
    Possible, but is it wise? Why not simply protect the sheet and the
    objects on it so that comments cannot be deleted. Users will quickly
    bore of looking at what is inside them.
    Removing functionality WILL annoy them though, and dealing with the
    situations where you want to switch that functionality on and off is
    more trouble than it is worth e.g your user might need comment viewing
    on for other sheets in the workbook, so you will need a class
    application event to decide which sheets allow comment viewing and
    which not. Your user will certainly want comment viewing on for other
    workbooks open at the same time, so you will have to deal with that.
    You will also want comment viewing back on when your workbook is closed
    but Excel is still open..

    regards
    Paul

    Alan wrote:
    > Hi All,
    >
    > I would like to disable the option for a user to show comment
    > indicators. Effectively, I want to lock the option to 'None'.
    >
    > Is that possible?
    >
    > Thanks,
    >
    > Alan.



  4. #4
    Alan
    Guest

    Re: How to diasble the 'Tools - Options - View - Comments' options?

    <paul.robinson@it-tallaght.ie> wrote in message
    news:1116407503.468960.301110@g14g2000cwa.googlegroups.com...
    >
    > Hi
    > Possible, but is it wise?
    >


    Covered below, but if it is possible, please could you post back with
    *how* to do it?

    >
    >Why not simply protect the sheet and the
    > objects on it so that comments cannot be deleted.
    >


    Users make changes to all the data on the sheet. The comments are
    used to store an audit trail, so we need the worksheet open for
    changes, but just the comments protected as solidly as possible.

    >
    >Users will quickly
    > bore of looking at what is inside them.
    >


    They can see what is inside them using an option on the cells
    toolbar that runs a code snippet to present the audit trail (stored
    in the comment) in a user-friendly format - it is just the integrity
    of the contents that I need to protect.

    >
    > Removing functionality WILL annoy them though, and dealing with the
    > situations where you want to switch that functionality on and off is
    > more trouble than it is worth e.g your user might need comment
    > viewing on for other sheets in the workbook, so you will need a
    > class application event to decide which sheets allow comment
    > viewing and which not.
    >


    There are no other sheets in the workbook where comments are required
    so that is not an issue in this specific situation. If it was, I
    guess I would use the worksheet activate event to toggle the comment
    mode, but that is a non issue in this workbook.

    >
    >Your user will certainly want comment viewing on for other
    > workbooks open at the same time, so you will have to deal with that.
    >


    This workbook is opening from a small VBA app and it ensures that a
    different instance of excel is used, so there is no issue there.

    >
    > You will also want comment viewing back on when your workbook is
    > closed but Excel is still open..
    >


    Same applies - the only workbook open in that instance of excel is the
    one I am working on, so when it closes, so does the instance of excel.

    >
    > regards
    > Paul
    >


    I do appreciate your comments - they are all potential issues that
    needed to be thought through, but I think we have that covered.

    It is just the technical mechanics of how to do it that we need now.

    Thanks,

    Alan.








  5. #5
    Alan
    Guest

    Re: How to diasble the 'Tools - Options - View - Comments' options?

    "Alan" <alan@alan.alan> wrote in message
    news:uW%23YIa2WFHA.3996@TK2MSFTNGP09.phx.gbl...
    >
    > Hi All,
    >
    > I would like to disable the option for a user to show comment
    > indicators. Effectively, I want to lock the option to 'None'.
    >
    > Is that possible?
    >
    > Thanks,
    >
    > Alan.
    >


    {Bump}



+ 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