Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi guys,
I am trying to set up a inputbox for a macro which will display a employees name and a number value as well is it possible? I am running excel 2007. this is for a assignment |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you're just displaying data, you may want to just use a msgbox. InputBox's
are genearlly used to gather data. Here's an example with both being used: Sub DisplayName() 'Gather info xName = InputBox("What is the name?", "Name") xValue = InputBox("What is the value?", "Value") 'Display info MsgBox "The name is: " & xName & vbNewLine & _ "The value is: " & xValue End Sub -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "ozchick" wrote: Hi guys, I am trying to set up a inputbox for a macro which will display a employees name and a number value as well is it possible? I am running excel 2007. this is for a assignment |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Setting the cell number as a variable | Excel Discussion (Misc queries) | |||
New Worksheet Default Number Setting | Setting up and Configuration of Excel | |||
Setting number in cell back to zero | New Users to Excel | |||
Setting up an IF function using a name rather than a number | Excel Discussion (Misc queries) | |||
Setting the number of decimal places for a text box. | Excel Discussion (Misc queries) |