Avatar of Randall Clark
Randall Clark
 asked on

Excel VBA Multiple Word Column Headings with Data Validation

I've run into an issue in adapting some Excel VBA code from one template to another.  I know the reason behind the problem is because I have data validation lists with headings that include multiple words, such as "A and B," or "A B and C D," instead of a single word heading like "A" or "B."  I tried inserting a substitution line of code into the ShowAutoComplete module, but it didn't do anything.  I also tried inserting a Split code into the same module that would address the validation formula that has indirect in the code.  That I took from Contextures, but all that did was stop everything from working.



Thanks
Randy
Microsoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Randall Clark

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Martin Liss

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Randall Clark

ASKER
I did, apologies, but this works out great, anyway!  You've been so helpful!  Thanks so much!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck