Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Can a input prompt be added to excel spreadsheet for a value?

This is a rough outline of what you want I think...

Sub SelectGrid()

Select Case InputBox("Number of competitions")
Case 1
MsgBox "One"
Case 2
MsgBox "Two"
Case 3
MsgBox "Three"
Case Else
MsgBox "Invalid input. Please Try again"
End Select
End Sub
--
HTH...

Jim Thomlinson


"antwash" wrote:

I setting up a Quiz Scoresheet that will run a macro to generate the
appropriate competition grid layout. Scenario: Competition Grid Menu is
selected and I would like the a pop up screen to ask "Number of
Competitions"; based on the input, the appropriate grid macro is selected and
the grid is drawn in the Competition Grid Worksheet tab.

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
Excel Equation Blank cells until input is added Ross @ Unirope Excel Discussion (Misc queries) 1 October 19th 09 06:26 PM
Prompt user for input and utilize that input ninner Excel Worksheet Functions 2 March 28th 07 09:44 PM
How do I get rid of prompt when saving Excel spreadsheet ? gabriolaislander Excel Discussion (Misc queries) 1 August 10th 06 08:37 PM
How do I view an Excel spreadsheet component I added in FrontPage? sigmad Excel Discussion (Misc queries) 0 April 19th 05 09:14 PM
How to save an excel spreadsheet as a text file without added quot Dozzle Excel Discussion (Misc queries) 2 April 11th 05 04:21 PM


All times are GMT +1. The time now is 02:21 PM.

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"