troubleshooting Question

Input box prompt with only 5 possible entries

Avatar of Andreas Hermle
Andreas HermleFlag for Germany asked on
VBAMicrosoft ExcelMicrosoft Office
5 Comments2 Solutions99 ViewsLast Modified:
Dear Experts:

Could somebody please help me with a code snippet for an Input Box:

The user is to be prompted with an inputbox that only allows 5 entries: DE or EN or ES or FR or IT. Only capital letters are allowed.

Should the user enter something other than DE, EN, ES, FR or IT, the macro is not to exit but the inputbox is to reappear.

Help is much appreciated. Thank you very much in advance.

Regards, Andreas
Roy Cox
Group Finance Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros