Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Add comment in a protected sheet, Excel 2000

Hi everybody,
In Excel 2003 a user can add comment in a protected sheet, if editing
objects is allowed. I have to make it possible also in Excel 2000 with VBA
code. I´m thinking of using a userform with textbox but maybe there is some
better way.
Thanks in advance for any suggestion.
Best Regards
Mats
--
ESI Update
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 415
Default Add comment in a protected sheet, Excel 2000

Mats,
You would need to give the user some userform/inputbox to enter their
comment, .Unprotect the sheet, add/edit the comment in which cell, .Protect
the sheet.

NickHk

"Mats Nilsson" ...
Hi everybody,
In Excel 2003 a user can add comment in a protected sheet, if editing
objects is allowed. I have to make it possible also in Excel 2000 with VBA
code. I¡¦m thinking of using a userform with textbox but maybe there is
some
better way.
Thanks in advance for any suggestion.
Best Regards
Mats
--
ESI Update



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Add comment in a protected sheet, Excel 2000

Hi Nick,
Thanks for answer . I have just made a simple test with a userform and
textbox to add comment so it will work.
But there could be a comment in the cell already and in that case I have to
load the textbox with the comment and then edit the comment.
Regards
Mats

--
ESI Update


"NickHK" wrote:

Mats,
You would need to give the user some userform/inputbox to enter their
comment, .Unprotect the sheet, add/edit the comment in which cell, .Protect
the sheet.

NickHk

"Mats Nilsson" ...
Hi everybody,
In Excel 2003 a user can add comment in a protected sheet, if editing
objects is allowed. I have to make it possible also in Excel 2000 with VBA
code. I¡¦m thinking of using a userform with textbox but maybe there is
some
better way.
Thanks in advance for any suggestion.
Best Regards
Mats
--
ESI Update




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Add comment in a protected sheet, Excel 2000

if activecell.Coment is nothing then
' add comment
else
s = ActiveCell.Comment.Text
' edit comment
End if

--
Regards,
Tom Ogilvy

"Mats Nilsson" wrote:

Hi Nick,
Thanks for answer . I have just made a simple test with a userform and
textbox to add comment so it will work.
But there could be a comment in the cell already and in that case I have to
load the textbox with the comment and then edit the comment.
Regards
Mats

--
ESI Update


"NickHK" wrote:

Mats,
You would need to give the user some userform/inputbox to enter their
comment, .Unprotect the sheet, add/edit the comment in which cell, .Protect
the sheet.

NickHk

"Mats Nilsson" ...
Hi everybody,
In Excel 2003 a user can add comment in a protected sheet, if editing
objects is allowed. I have to make it possible also in Excel 2000 with VBA
code. I¡¦m thinking of using a userform with textbox but maybe there is
some
better way.
Thanks in advance for any suggestion.
Best Regards
Mats
--
ESI Update




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Add comment in a protected sheet, Excel 2000

xl2k has the same option to allow users to edit objects. I forget the wording,
but it's one of those boxes on the worksheet protection dialog.

Mats Nilsson wrote:

Hi everybody,
In Excel 2003 a user can add comment in a protected sheet, if editing
objects is allowed. I have to make it possible also in Excel 2000 with VBA
code. I´m thinking of using a userform with textbox but maybe there is some
better way.
Thanks in advance for any suggestion.
Best Regards
Mats
--
ESI Update


--

Dave Peterson
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
Inserting a Comment in a Protected Sheet? jcolley05 Excel Discussion (Misc queries) 1 May 1st 07 04:35 PM
Adding a Comment on a protected sheet Sean Excel Programming 3 July 18th 06 06:55 PM
Protected Sheet Problem in Excel 2000 JG Scott Excel Programming 2 December 16th 05 04:00 PM
Enable filter to work in a protected sheet from Excel 2003 to 2000 Metallo[_3_] Excel Programming 2 November 26th 04 03:58 PM
Query Into Protected Sheet - Excel 2000 on WinXP Home (SR2) FredC[_2_] Excel Programming 0 September 11th 04 06:12 PM


All times are GMT +1. The time now is 03:36 AM.

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

About Us

"It's about Microsoft Excel"