Input Box

delta5555

New Member
Joined
Sep 5, 2002
Messages
11
its probably easy but could someone please tell me how to create a pop up box to enter data into cells?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Depending on how your worksheet is organised, probably the easiest way is to click on Data-Form and checking out the help on setting up a list if it doesn't work.

A VBA solution would be to create a userform with a number of textboxes to transfer data to the worksheet at a particular event (eg the clicking of a command button on the userform).

Either way needs you to be a lot more specific with how your worksheet is set up and the results you want. If you could post back with more detail then I'm sure you'd get the help you require.
 
Upvote 0
i need a popup box to enter a store name, store number and a date, these values are then transfered to specific cells in the workbook.
 
Upvote 0
Which cells? Do you already have columns headed Store No, Store Name and Date with any previous inputs arranged as an unbroken list (ie contiguous columns and rows)?
If so, you can use the Data-Form to enter new values (and review old ones). If not, you're creeping into VBA territory.
 
Upvote 0
To do in code is simple

STORE_NAME = InputBox("STORE NAME", "Please enter the name of the Store")

sheets("sheet1").range("a5") = STORE_NAME

etc...
 
Upvote 0

Forum statistics

Threads
1,214,798
Messages
6,121,635
Members
449,043
Latest member
farhansadik

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