A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Programming
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Display Modes
  #1  
Old May 18th 05, 06:00 AM posted to microsoft.public.excel.programming
Alan
external usenet poster
 
Posts: 188
Default 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.


Ads
  #2  
Old May 18th 05, 10:11 AM posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default 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.


  #3  
Old May 18th 05, 10:18 PM posted to microsoft.public.excel.programming
Alan
external usenet poster
 
Posts: 188
Default How to diasble the 'Tools - Options - View - Comments' options?

> wrote in message
oups.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.







  #4  
Old May 19th 05, 10:58 PM posted to microsoft.public.excel.programming
Alan
external usenet poster
 
Posts: 188
Default How to diasble the 'Tools - Options - View - Comments' options?

"Alan" > wrote in message
...
>
> 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}


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
tools options view window options Joe[_14_] Excel Discussion (Misc queries) 1 November 11th 09 04:08 PM
Displaying Cell Formulas (without using Tools/Options/View-Formula DSMessenger Excel Worksheet Functions 6 May 4th 09 02:01 AM
Grid lines in Excel not showing.Have tools,options,view/grid cked bajlearning Excel Discussion (Misc queries) 6 January 28th 07 02:00 AM
"Show Windows in Taskbar" option from the Tools>Options>View broke Ben Zapp Excel Discussion (Misc queries) 0 November 9th 05 07:40 PM
Disable "Sheet tabs" check box under [Tools][Options]-[View] tab quartz[_2_] Excel Programming 4 April 2nd 05 03:25 AM


All times are GMT +1. The time now is 11:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2004-2013 ExcelBanter.
The comments are property of their posters.