excel - VBA Find and Format Specific Text In Worksheet (Not entire Cell)
问题描述
I have a length table that uses data I've imported to complete calculation to help with inventory management. There is some text within item names that I would like to stand out. For Example, I have several item names that start with "Ingredient Flavor" and then end with a specific flavor name. I'd like the word Flavor to standout (different color, size, etc). There are other items that start with "Ingredient". There are items that start with "Material", "Merchandise", etc.
I think I need a loop that looks at each cell within the table, checks for the specific text, and formats the text if it finds it. There will be different texts to look for so I think I'd need to use cases.
Any suggestions on the best way to do this would be appreciated. Thanks!
解决方案
推荐阅读
- javascript - 在地图功能中定位点击的卡片索引
- keras - TypeError:('关键字参数不理解:','data_format')
- java - Rabbitmq 只允许一个并发消费者
- java - 不使用基于 java 的 tasklet 执行存储过程
- html - 如何在 ionic 3 中使用 @output
- observable - 使用可观察的。有人可以向我解释这段代码是如何工作的
- angular - 无法在 Angular js 中配置服务工作者
- scala - 如何将多个值传递给 spark scala 中的单个参数
- ibm-cloud-infrastructure - 通过 Softlayer Rest Api 在 Softlayer 中看不到 Multi-Vlan Firewall 的类型
- loops - 自动热键:从 ListBox 复制