Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Input boxes - writing entry to cell
I'm a total newbie to this. When the normal rate on the worksheet has to use
a substitute rate, I have an input box prompt for the substitute value. I want the value to write to a certain cell to be used in a calculation. The macro is doing what I want except writing the input value to the cell - H14. What am I doing wrong? ActiveSheet.Unprotect Range("E14").Select ActiveCell = "TTD Rate Override Applies" myNum = Application.InputBox("Enter TTD Rate Override") Range("h14").Select ActiveSheet.Protect |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Input boxes - writing entry to cell
Range("h14").Value = myNum
-- HTH RP (remove nothere from the email address if mailing direct) "Janet H" wrote in message ... I'm a total newbie to this. When the normal rate on the worksheet has to use a substitute rate, I have an input box prompt for the substitute value. I want the value to write to a certain cell to be used in a calculation. The macro is doing what I want except writing the input value to the cell - H14. What am I doing wrong? ActiveSheet.Unprotect Range("E14").Select ActiveCell = "TTD Rate Override Applies" myNum = Application.InputBox("Enter TTD Rate Override") Range("h14").Select ActiveSheet.Protect |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Input boxes - writing entry to cell
Hi Janet
Your code does not have the instruction to do what you want (input the substitute value in cell H14). This code should take care of it: ActiveSheet.Unprotect Range("E14").Select ActiveCell = "TTD Rate Override Applies" myNum = Application.InputBox("Enter TTD Rate Override") Range("h14") = my Num ActiveSheet.Protect Thanks Karthik Bhat Bangalore |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel-Input numeric value in cell, it shows up as 1/100th of entry | Excel Discussion (Misc queries) | |||
How can I have an input form to add a random no. to each input entry? | Excel Discussion (Misc queries) | |||
How do I add input data in the input ranges in drop down boxes. | Excel Discussion (Misc queries) | |||
Preventing Writing in Combo Boxes | Excel Programming | |||
Mask input in input boxes? | Excel Programming |