Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Popup Comment Box if a Certain Condition is Met

Hello Everyone,

Is there a way to set up a spreadsheet so if a certain condition is
met, a comment box will pop up asking for feedback. For example, if a
machine is running at less than 90% capacity, I'd like a comment box
pop up or a row to open up below the 90% to give room for the user to
enter a reason for going below 90% I don't know if something like this
is even possible. Any help would be appreciated.

Thanks,

-Chad

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Popup Comment Box if a Certain Condition is Met

Hi Chad,

If you insert a module in the Visual Basic Editor and paste this code
in:

Public Function ShowInputBox()
ShowInputBox = InputBox("Please enter the reason for going below 90%.",
"Feedback...")
End Function

then you can reference this in a cell by using a formula like:
=IF(A1<90%, ShowInputBox(), "")

Hope this helps.

FunkySquid

wrote:
Hello Everyone,

Is there a way to set up a spreadsheet so if a certain condition is
met, a comment box will pop up asking for feedback. For example, if a
machine is running at less than 90% capacity, I'd like a comment box
pop up or a row to open up below the 90% to give room for the user to
enter a reason for going below 90% I don't know if something like this
is even possible. Any help would be appreciated.

Thanks,

-Chad


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Popup Comment Box if a Certain Condition is Met

Thanks for the help!

-Chad


FunkySquid wrote:
Hi Chad,

If you insert a module in the Visual Basic Editor and paste this code
in:

Public Function ShowInputBox()
ShowInputBox = InputBox("Please enter the reason for going below 90%.",
"Feedback...")
End Function

then you can reference this in a cell by using a formula like:
=IF(A1<90%, ShowInputBox(), "")

Hope this helps.

FunkySquid

wrote:
Hello Everyone,

Is there a way to set up a spreadsheet so if a certain condition is
met, a comment box will pop up asking for feedback. For example, if a
machine is running at less than 90% capacity, I'd like a comment box
pop up or a row to open up below the 90% to give room for the user to
enter a reason for going below 90% I don't know if something like this
is even possible. Any help would be appreciated.

Thanks,

-Chad


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
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
Create a condition and allows a automatic comment Mary Excel Worksheet Functions 2 May 24th 06 12:23 PM
Popup TextBox/Comment Robert Brydges Excel Discussion (Misc queries) 2 January 19th 06 12:20 PM
How can I edit a comment w/o first having to select Show Comment Mary Ann Excel Discussion (Misc queries) 1 August 26th 05 12:34 AM
a comment plugin & copy paste directly from excel to comment ? fr. RFM Excel Worksheet Functions 0 December 1st 04 11:29 PM


All times are GMT +1. The time now is 12:51 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"