RIchavalues
New Member
- Joined
- Feb 24, 2016
- Messages
- 25
- Office Version
- 2019
- Platform
- Windows
Hi Experts,
Am new to VBA and would like to know if we can color text in a cell based on delimiter (-).
Say I have text "Welcome to - MrExcel" in cell "D22" then I want font color to be like this "Welcome to - MrExcel".
i.e., "Welcome to -" including hypen (-) in one color and "MrExcel" i.e., after hypen(-) in one color.
I tried to search in forum and also google but no help. Really appreciate any help provided.
Thanks,
Richa
Am new to VBA and would like to know if we can color text in a cell based on delimiter (-).
Say I have text "Welcome to - MrExcel" in cell "D22" then I want font color to be like this "Welcome to - MrExcel".
i.e., "Welcome to -" including hypen (-) in one color and "MrExcel" i.e., after hypen(-) in one color.
I tried to search in forum and also google but no help. Really appreciate any help provided.
Thanks,
Richa