Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
USER input
How do I allow user selection of cells in the middle of a macro?
|
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
USER input
Sub yourmacro()
'some stuff gets done Set sRange = Application.InputBox(prompt:= _ "Select the range of cells.", Type:=8) 'stuff gets done using sRange End Sub Gord Dibben MS Excel MVP On Tue, 26 Sep 2006 11:53:02 -0700, tgaston wrote: How do I allow user selection of cells in the middle of a macro? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
USER input
You can also create a UserForm which could specify specific ranges of cells
that the user would be allowen to select with a check box or radio dial buttons. The input box cand then be used to allow the user to enter data into the selected cells. "Gord Dibben" wrote: Sub yourmacro() 'some stuff gets done Set sRange = Application.InputBox(prompt:= _ "Select the range of cells.", Type:=8) 'stuff gets done using sRange End Sub Gord Dibben MS Excel MVP On Tue, 26 Sep 2006 11:53:02 -0700, tgaston wrote: How do I allow user selection of cells in the middle of a macro? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Prompt user for input and utilize that input | Excel Worksheet Functions | |||
Have user input converted to uppercase in same cell as input? | New Users to Excel | |||
User Input | Excel Programming | |||
CODE to select range based on User Input or Value of Input Field | Excel Programming | |||
Get User Input | Excel Programming |