Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Function commenttext2(incell As String) As String If incell " " Then commenttext2 = InputBox("Please enter you datasheet comment for" & " " & " " & ActiveSheet.Range("c41").Value) End Function I have this function set so when the user enters a number into cel B41, they are prompted with an inputBox. Works great withou protection. It works with protection, but only when I go to Save o Exit the spreadsheet. Ideas -- BigDav ----------------------------------------------------------------------- BigDave's Profile: http://www.excelforum.com/member.php...nfo&userid=774 View this thread: http://www.excelforum.com/showthread.php?threadid=37910 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() If the sheet is protected with the default protection, they won't b able to change the comments. When you protect the sheet, allow them t "Edit Objects" HT -- tkstoc ----------------------------------------------------------------------- tkstock's Profile: http://www.excelforum.com/member.php...fo&userid=1444 View this thread: http://www.excelforum.com/showthread.php?threadid=37910 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Function commentText2(astr As String, refstring As String) refstring = c41 astr = b41 If astr " " Then commentText2 = InputBox("Please enter your datasheet comment for" & " " & " " & refstring) End Function Is this the correct way to go about it? (How green am I?) -- BigDave ------------------------------------------------------------------------ BigDave's Profile: http://www.excelforum.com/member.php...fo&userid=7741 View this thread: http://www.excelforum.com/showthread...hreadid=379105 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Okay...code works now. The calculation mode was set to manual b another proceedure. But, I'm not in the clear yet. I'm still curious about alternatives to comment prompts were discussin here, but I'll sort out my new problem in another thread. Thanks for all of the help -- BigDav ----------------------------------------------------------------------- BigDave's Profile: http://www.excelforum.com/member.php...nfo&userid=774 View this thread: http://www.excelforum.com/showthread.php?threadid=37910 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SMALL function seems not to work correctly | Excel Worksheet Functions | |||
Sorting numbers doesn't work correctly | New Users to Excel | |||
How do I get Auto-Fit to work correctly? | Excel Worksheet Functions | |||
custom filter does not work correctly | Excel Discussion (Misc queries) | |||
RunAutoMacros does not work correctly from vbscript! | Excel Programming |