PC Review


Reply
Thread Tools Rate Thread

Add comment in a protected sheet, Excel 2000

 
 
=?Utf-8?B?TWF0cyBOaWxzc29u?=
Guest
Posts: n/a
 
      6th Oct 2006
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
 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      6th Oct 2006
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" <(E-Mail Removed)> ¼¶¼g©ó¶l¥ó·s»D:8ED6BC05-1932-485B-8950-(E-Mail Removed)...
> 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



 
Reply With Quote
 
=?Utf-8?B?TWF0cyBOaWxzc29u?=
Guest
Posts: n/a
 
      6th Oct 2006
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" <(E-Mail Removed)> ¼¶¼g©ó¶l¥ó·s»D:8ED6BC05-1932-485B-8950-(E-Mail Removed)...
> > 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

>
>
>

 
Reply With Quote
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      6th Oct 2006
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" <(E-Mail Removed)> ¼¶¼g©ó¶l¥ó·s»D:8ED6BC05-1932-485B-8950-(E-Mail Removed)...
> > > 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

> >
> >
> >

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      6th Oct 2006
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofilter of Protected Sheet - Excel 2000 (not 2003 or 2007) DSMessenger Microsoft Excel Programming 2 13th Feb 2010 08:06 PM
Inserting a Comment in a Protected Sheet? =?Utf-8?B?amNvbGxleTA1?= Microsoft Excel Misc 1 1st May 2007 04:35 PM
Adding a Comment on a protected sheet Sean Microsoft Excel Programming 3 18th Jul 2006 06:55 PM
Protected Sheet Problem in Excel 2000 JG Scott Microsoft Excel Programming 2 16th Dec 2005 04:00 PM
Insert Comment into Protected Sheet Jeff Mackeny Microsoft Excel Worksheet Functions 2 11th Jun 2004 04:00 AM


Features
 

Advertising
 

Newsgroups
 


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