Check the BOL for information on Stored Procedures.
Also, SQL Server doesn't have/isn't a 'front-end' application. So, it won't provide 'pop up' windows for you to input data. The variables/parameters have to be inputted via commands. For example, you would run a SP without a variable/parameter as:
EXEC mysp
But with a variable/parameter, you would use:
EXEC mysp 'myparameter'
MS Access and MS Excel are examples of combined front-ends and back-ends. You could use Excel to ask for and pass the parameter to SQL Server. I don't use Excel this way, so I can't help you with the actual method. You should be able to create a SP on SQL Server and have Excel 'run' that SP.
-SQLBill
BOL=Books OnLine=Microsoft SQL Server's HELP
Installed as part of the Client Tools
Found at Start>Programs>Microsoft SQL Server>Books OnLine
Posting advice: FAQ481-4875