Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 468
Default With Specific App

In a specific application I have (in xl2003) - I need to always have the
Tools, Options, Comments set to Comment & Indicator. Ordinarily, this
setting as set (default) to Comment Indicator Only. What is the best method
for insuring this setting is ON during the time my application is open and
running and is Set to OFF (that is Comment Indicator Only) when exiting from
my app? For now any comments are RESTRICTED to only one sheet named
"WorkingReport" (w/o the ""'s, of course). Thanks in advance for your
assitance...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default With Specific App

Right-click the sheet tab of WorkingReport, select "View Code" and paste the code below into the
window that appears.

HTH,
Bernie
MS Excel MVP


Private Sub Worksheet_Activate()
Application.DisplayCommentIndicator = xlCommentAndIndicator
End Sub

Private Sub Worksheet_Deactivate()
Application.DisplayCommentIndicator = xlCommentIndicatorOnly
End Sub


"JMay" wrote in message
...
In a specific application I have (in xl2003) - I need to always have the
Tools, Options, Comments set to Comment & Indicator. Ordinarily, this
setting as set (default) to Comment Indicator Only. What is the best method
for insuring this setting is ON during the time my application is open and
running and is Set to OFF (that is Comment Indicator Only) when exiting from
my app? For now any comments are RESTRICTED to only one sheet named
"WorkingReport" (w/o the ""'s, of course). Thanks in advance for your
assitance...



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default With Specific App

And if you don't want to change a user's default setting:

Public DCI As XlCommentDisplayMode

Private Sub Worksheet_Activate()
DCI = Application.DisplayCommentIndicator
Application.DisplayCommentIndicator = xlCommentAndIndicator
End Sub

Private Sub Worksheet_Deactivate()
Application.DisplayCommentIndicator = DCI
End Sub

HTH,
Bernie
MS Excel MVP


"JMay" wrote in message
...
In a specific application I have (in xl2003) - I need to always have the
Tools, Options, Comments set to Comment & Indicator. Ordinarily, this
setting as set (default) to Comment Indicator Only. What is the best method
for insuring this setting is ON during the time my application is open and
running and is Set to OFF (that is Comment Indicator Only) when exiting from
my app? For now any comments are RESTRICTED to only one sheet named
"WorkingReport" (w/o the ""'s, of course). Thanks in advance for your
assitance...



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default With Specific App

Right-click the sheet tab of WorkingReport, select "View Code" and paste the code below into the
window that appears.

HTH,
Bernie
MS Excel MVP


Private Sub Worksheet_Activate()
Application.DisplayCommentIndicator = xlCommentAndIndicator
End Sub

Private Sub Worksheet_Deactivate()
Application.DisplayCommentIndicator = xlCommentIndicatorOnly
End Sub


"JMay" wrote in message
...
In a specific application I have (in xl2003) - I need to always have the
Tools, Options, Comments set to Comment & Indicator. Ordinarily, this
setting as set (default) to Comment Indicator Only. What is the best method
for insuring this setting is ON during the time my application is open and
running and is Set to OFF (that is Comment Indicator Only) when exiting from
my app? For now any comments are RESTRICTED to only one sheet named
"WorkingReport" (w/o the ""'s, of course). Thanks in advance for your
assitance...



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default With Specific App

And if you don't want to change a user's default setting:

Public DCI As XlCommentDisplayMode

Private Sub Worksheet_Activate()
DCI = Application.DisplayCommentIndicator
Application.DisplayCommentIndicator = xlCommentAndIndicator
End Sub

Private Sub Worksheet_Deactivate()
Application.DisplayCommentIndicator = DCI
End Sub

HTH,
Bernie
MS Excel MVP


"JMay" wrote in message
...
In a specific application I have (in xl2003) - I need to always have the
Tools, Options, Comments set to Comment & Indicator. Ordinarily, this
setting as set (default) to Comment Indicator Only. What is the best method
for insuring this setting is ON during the time my application is open and
running and is Set to OFF (that is Comment Indicator Only) when exiting from
my app? For now any comments are RESTRICTED to only one sheet named
"WorkingReport" (w/o the ""'s, of course). Thanks in advance for your
assitance...





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Send data from userform to specific cell on specific sheet? JennLee Excel Programming 10 March 10th 07 02:55 AM
Link from a specific Cell in Excel to a specific para. in Word CathyK Excel Worksheet Functions 0 August 10th 06 04:40 PM
Form a circle (ie. color specific cells) given specific radius David Excel Programming 5 April 11th 06 03:56 PM
Highlight a row if a specific cell is specific numbers/words sea0221 Excel Worksheet Functions 2 March 9th 05 12:06 AM
How do I make a cell date specific to input a value on a specific. ebuzz13 Excel Discussion (Misc queries) 1 January 18th 05 05:53 PM


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

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

About Us

"It's about Microsoft Excel"