Data entry with a macro.

Bromide

New Member
Joined
Nov 16, 2012
Messages
1
Hello all,

I used to have a macro with which I could enter data into specific columns. The macro would prompt with Column header names to get the right data and check for conformance of entered values. I've lost it somehow and can't find it anymore. I would have used it as an example - I want to do more with a macro of that kind. I have a spreadsheet with 19 worksheets and want to use a single macro for each of the (IDENTICAL) worksheets. Can anyone help me with ANY example that will do what I want?? Thanks in advance.
 

Excel Facts

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

Why do you have 19 identical worksheets? It's generally better to try to compartmentalize the data and you can then use Pivot Tables to isolate the views that you need.

As for the code, if it's strictly data entry then why not use a User Form? Here's a good tutorial:Create an Excel UserForm

HTH,
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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