Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Find and Replace formatting inside of a macro


I have created a macro that will do formatting to a spreadsheet that is
exported from a different program. Inside the macro, I need to do a
find and replace and with the item to be replaced, I want to make the
replacement item bold. In a normal find and replace process, you are
given the option to format what is replaced but while inside the macro,
it is disabled. I don't know how to program Visual Basic and was
wondering if there is a string that I can use to force that formatting
to happen. The formatting needs to be performed if a string contains
certain bits of information, so I need it to scan the spreadsheet and
look for that info and then if it finds it make it bold.


--
mlstjohn
------------------------------------------------------------------------
mlstjohn's Profile: http://www.excelforum.com/member.php...o&userid=16359
View this thread: http://www.excelforum.com/showthread...hreadid=277419

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
Find Replace loses text properties/formatting no1jimmyman Excel Worksheet Functions 1 February 3rd 11 09:56 PM
Find and replace - problem with automatically changing formatting jwa90010 Excel Discussion (Misc queries) 6 October 28th 08 08:07 PM
find and replace inside comments? Knox Excel Discussion (Misc queries) 3 August 31st 07 05:12 PM
Find and Replace formatting formats the ENTIRE cell Duy Nguyen Excel Discussion (Misc queries) 2 April 16th 07 02:28 PM
Find and replace of word causes change of font formatting jwa90010 New Users to Excel 4 July 22nd 05 08:10 PM


All times are GMT +1. The time now is 07:46 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"