Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I was hoping someone could help me.
I've got a macro that asks the user for two inputs, defined as MyValue and MyValue2. How do I use the results in a formula though? This is the code that I have currently: MyValue1 = Application.InputBox("How many days is the current event?") MyValue2 = Application.InputBox("How far through the current even are you?") Range("Y1").Select ActiveCell.FormulaR1C1 = "=[MyValue1]/[MyValue2]" However, it crashes out on putting the formula in. How do I correctl call the results of MyValue1 & 2 and put them into a formula? Any help greatly appreciated! Thanks, Pau -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
When I enter a formula, Excel shows the formula not the results | Excel Worksheet Functions | |||
Input formulas in a defined data range and convert results as valu | New Users to Excel | |||
Multiple input and output results | Excel Discussion (Misc queries) | |||
Calculate multiple results from multiple input values? | Excel Discussion (Misc queries) | |||
how do i input customer information and results of meeting | Excel Worksheet Functions |