Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro that promt user for input

The screen goes to a cell, shows the question and user needs to respond, word
or number.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default macro that promt user for input

The screen goes to a cell

Do you mean that whenever a user selects a cell ?
If so, then use the Worksheet_SelectionChange event
The target would be whatever cell you choose.
The action would be something like:
Ans = Inputbox("Ask your question")
If Ans = " xyz" then
' ' Do this
Elseif Ans ="abc" then
' ' Do this
Else
Msgbox "Sorry....invalid Answer"
Exit Sub
End if

"Fercho" wrote:

The screen goes to a cell, shows the question and user needs to respond, word
or number.

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
Need macro to post data from user input Azrael[_3_] Excel Worksheet Functions 3 March 8th 09 09:40 PM
Macro for user to input 10 numbers Deedee New Users to Excel 4 October 21st 05 07:44 PM
Prompt For User Mouse Input In Macro? oBis Excel Programming 0 May 6th 04 02:50 PM
Pausing a macro for user input Wayne[_5_] Excel Programming 1 October 24th 03 10:34 PM
Can a macro be suspended during user input? David DeArmond Excel Programming 2 August 1st 03 05:02 AM


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