Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following:
Option Explicit Sub EnterData() Dim MyString As String Application.InputBox ("Enter anticipated per-client fee") End Sub Which obviously works. What I want to do is have Excel place the input into a speciic cell, say, A2 on the sheet "Model Inputs". Can someone point me to an online reference for this? Seems like this should be a simple line of code but I can't find any hints. Thanks, Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("A1").Value = Application.InputBox ("Enter anticipated per-
client fee") |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe this:
Range("A2").value = Application.InputBox ("Enter anticipated per-client fee") HTH, Paul "Dave F" wrote in message ... I have the following: Option Explicit Sub EnterData() Dim MyString As String Application.InputBox ("Enter anticipated per-client fee") End Sub Which obviously works. What I want to do is have Excel place the input into a speciic cell, say, A2 on the sheet "Model Inputs". Can someone point me to an online reference for this? Seems like this should be a simple line of code but I can't find any hints. Thanks, Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Option Explicit
Sub EnterData() 'Change sheet1 to what you want Worksheets("Sheet1").Range("A2").Value = _ InputBox("Enter anticipated per-client fee") End Sub "Dave F" wrote: I have the following: Option Explicit Sub EnterData() Dim MyString As String Application.InputBox ("Enter anticipated per-client fee") End Sub Which obviously works. What I want to do is have Excel place the input into a speciic cell, say, A2 on the sheet "Model Inputs". Can someone point me to an online reference for this? Seems like this should be a simple line of code but I can't find any hints. Thanks, Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Helpful, thanks.
Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. "PCLIVE" wrote: Maybe this: Range("A2").value = Application.InputBox ("Enter anticipated per-client fee") HTH, Paul "Dave F" wrote in message ... I have the following: Option Explicit Sub EnterData() Dim MyString As String Application.InputBox ("Enter anticipated per-client fee") End Sub Which obviously works. What I want to do is have Excel place the input into a speciic cell, say, A2 on the sheet "Model Inputs". Can someone point me to an online reference for this? Seems like this should be a simple line of code but I can't find any hints. Thanks, Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Oops! I forgot to include the sheet name which you probably already figured
out. Sheets("Model Inputs").Range("A2").value = InputBox ("Enter anticipated per-client fee") "Dave F" wrote in message ... Helpful, thanks. Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. "PCLIVE" wrote: Maybe this: Range("A2").value = Application.InputBox ("Enter anticipated per-client fee") HTH, Paul "Dave F" wrote in message ... I have the following: Option Explicit Sub EnterData() Dim MyString As String Application.InputBox ("Enter anticipated per-client fee") End Sub Which obviously works. What I want to do is have Excel place the input into a speciic cell, say, A2 on the sheet "Model Inputs". Can someone point me to an online reference for this? Seems like this should be a simple line of code but I can't find any hints. Thanks, Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
referencing inputbox input to worksheet | Excel Programming | |||
Check on the input in an inputbox | Excel Programming | |||
Numerical Input via an inputbox method | Excel Programming | |||
Numerical Input via an inputbox method | Excel Programming | |||
Check on the input in an inputbox | Excel Programming |