Creating a custom editor for Domain specific Language

partikmadaan

New Member
Joined
Jan 23, 2014
Messages
1
Hi
I have created an editor i.e, a cell or a text box, in which text can be entered manually or from dropdown lists present in the same sheet.
If a keyword is inputted manually, it is validated that it must belong to the values in dropdown lists.

What i need is


  • There should be a separate font color for keyword belonging to each list (like in programming editors).
  • I can input data by selecting value from drop dropdown. It should be appended in the editor with proper syntax highlighting.
  • And in case of manual input if it belongs to any dropdown it should be highlighted else underlined to show error.

For Eg. there are three dropdown A,B and C. If the entered text into the cell based editor belongs to dropdown A then it should be colored green and if it belongs to B then Orange.

First, I want to ask which component should i use as an editor.
I have 4 options that i came across :
  1. Cell
  2. Text Box
  3. Word Document as an object
  4. Rich Edit


And a little more insight on what should be the approach.

I am a newbie to VBA but i have a good background in java.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,215,727
Messages
6,126,512
Members
449,316
Latest member
sravya

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