Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Trying to highlight (bold,red) selected text within range

I'm trying to write VB to allow selecting a phrase and a range and then
highlighting each instance of the phrase with bold and red font. Want to
highlight only the characters contained in the phrase, not the entire cell's
contents. Having trouble using a command similar to FIND in Excel, which
doesn't seem to translate well to VB. Every reference I've found is for
locating a cell, not a character within a cell.

I'm using RefEdit to select the range and a text box to enter the phrase.
Want to create a UserForm that can be added to the normal template.

Any suggestions?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using text for the range in AVERAGE function [email protected] Excel Worksheet Functions 4 July 8th 06 12:00 PM
lose selected range when I right click GCapo Setting up and Configuration of Excel 1 July 5th 06 08:48 AM
lose selected range when I right click GCapo Excel Discussion (Misc queries) 1 July 4th 06 10:27 PM
lose selected range when I right click GCapo Excel Worksheet Functions 2 July 4th 06 10:24 PM
File Save As -Selected Range Sprint54 Excel Discussion (Misc queries) 1 February 8th 06 02:28 AM


All times are GMT +1. The time now is 12:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"