VBA script

jharih1

New Member
Joined
Dec 5, 2017
Messages
14
We have an issue where end users have to update a spreadsheet with data, which then feeds another application. However, because end users are not following the format, or entering bogus numbers in a field, our data gets corrupted on the end. I would like to create a VB script that checks whether a particular number listed is valid. The validity is a lookup function to available numbers that are housed in a Access Database table. If its not valid, I want to have a message pop up, or notification to the person entering the data that their number listed is not valid.

I am not a coder, but I know only VB script can do what I am asking it to. I also cannot house the data from the database table within excel because there are too many records.

Thanks in advance!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Welcome to the forum!

There should be several examples using ADO. Other methods might be a QueryTable.
 
Upvote 0
Thank you! I tried searching but I couldn't find any helpful examples. Perhaps this is due to my ignorance on scripting too.
 
Upvote 0

Forum statistics

Threads
1,215,334
Messages
6,124,319
Members
449,154
Latest member
pollardxlsm

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