String from inputBox will not store(by .Value) in a cell (g

nicademas

New Member
Joined
Feb 20, 2002
Messages
3
Is there something special to do in order to get this data from an input cell and store(by .value perhaps) in a cell?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi Nicademas
Do you want a cell to display the answer from an input box? If so you can use syntax like this:

Range("F8").Value = InputBox("How many chickens?")

Whatever they put in the input box ends up in cell F8. You can restrict the replies (see Help)

If you are doing this and nothing displays in the cell, check the underlying formatting of the cell or any conditional formatting that could be hiding it.

Hope this helps
Derek
This message was edited by Derek on 2002-02-21 16:57
 
Upvote 0

Forum statistics

Threads
1,226,735
Messages
6,192,733
Members
453,752
Latest member
Austin2222

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top