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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Mudface

MrExcel MVP
Joined
Feb 18, 2002
Messages
3,339
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.
 

delta5555

New Member
Joined
Sep 5, 2002
Messages
11
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.
 

Mudface

MrExcel MVP
Joined
Feb 18, 2002
Messages
3,339
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.
 

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
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...
 

Watch MrExcel Video

Forum statistics

Threads
1,130,169
Messages
5,640,548
Members
417,151
Latest member
ChickenTenderer

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
Top